Skip to main content

Interface: OrderTotalInput

Defined in: type/OrderTotalInput.ts:5

Input object for OrderTotalInput

Properties​

discountType​

discountType: OrderDiscountType

Defined in: type/OrderTotalInput.ts:13

The type of global discount


discountValue​

discountValue: number

Defined in: type/OrderTotalInput.ts:15

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


gross​

gross: number

Defined in: type/OrderTotalInput.ts:7

The total of this Order excluding tax


net​

net: number

Defined in: type/OrderTotalInput.ts:9

The total of this Order including tax


tax​

tax: number

Defined in: type/OrderTotalInput.ts:11

The total amount of tax for this Order