CheckoutSessionShippingCost constructor
const
CheckoutSessionShippingCost({
- required int amountSubtotal,
- required int amountTax,
- required int amountTotal,
- ShippingRateOrId? shippingRate,
- List<
LineItemsTaxAmount> ? taxes,
The details of the customer cost of shipping, including the customer chosen ShippingRate.
Implementation
const CheckoutSessionShippingCost({
required this.amountSubtotal,
required this.amountTax,
required this.amountTotal,
this.shippingRate,
this.taxes,
});