CheckoutSessionTotalDetails constructor
const
CheckoutSessionTotalDetails({
- required int amountDiscount,
- int? amountShipping,
- required int amountTax,
- PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown? breakdown,
Tax and discount details for the computed total amount.
Implementation
const CheckoutSessionTotalDetails({
required this.amountDiscount,
this.amountShipping,
required this.amountTax,
this.breakdown,
});