Skip to main content

Interface: OrderTotals

Defined in: type/OrderTotals.ts:6

Object class for OrderTotals

Properties

discountType

discountType: OrderDiscountType

Defined in: type/OrderTotals.ts:14

The type of global discount


discountValue

discountValue: number

Defined in: type/OrderTotals.ts:16

The discount value, can be absolute or a percentage depending on the discountType


gross

gross: number

Defined in: type/OrderTotals.ts:8

The total of this Order excluding tax


net

net: number

Defined in: type/OrderTotals.ts:10

The total of this Order including tax


tax

tax: number

Defined in: type/OrderTotals.ts:12

The total amount of tax for this Order


taxPercentages

taxPercentages: OrderTotalTaxPercentage[]

Defined in: type/OrderTotals.ts:18

The totals per tax percentage