Aggregate amounts for an order summary item.

interface AmountDetails {
    total: Amount;
    subtotal: Amount;
    taxAmounts?: TaxAmount[];
    discount: Amount;
    taxInclusive: Amount;
    taxExclusive: Amount;
}

Properties

total: Amount

The total after discounts and tax.

subtotal: Amount

The subtotal before discounts and tax.

taxAmounts?: TaxAmount[]

Tax amounts grouped by tax rate after Checkout computes tax.

discount: Amount

The total discount amount.

taxInclusive: Amount

The total inclusive tax amount.

taxExclusive: Amount

The total exclusive tax amount.