Tax and discount breakdown for the computed Checkout Session total.

interface Totals {
    subtotal: Amount;
    taxExclusive: Amount;
    taxInclusive: Amount;
    discount: Amount;
    total: Amount;
}

Properties

subtotal: Amount

The subtotal before discounts and tax.

taxExclusive: Amount

The total exclusive tax amount.

taxInclusive: Amount

The total inclusive tax amount.

discount: Amount

The total discount amount.

total: Amount

The final order total.