CheckoutSessionTotalDetails constructor

const CheckoutSessionTotalDetails({
  1. required int amountDiscount,
  2. int? amountShipping,
  3. required int amountTax,
  4. PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown? breakdown,
})

Tax and discount details for the computed total amount.

Implementation

const CheckoutSessionTotalDetails({
  required this.amountDiscount,
  this.amountShipping,
  required this.amountTax,
  this.breakdown,
});