CheckoutSessionShippingCost constructor

const CheckoutSessionShippingCost({
  1. required int amountSubtotal,
  2. required int amountTax,
  3. required int amountTotal,
  4. ShippingRateOrId? shippingRate,
  5. 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,
});