Skip to main content

OrderTotals

No description

type OrderTotals {
orderId: Int!
gross: Float!
net: Float!
tax: Float!
discountType: OrderDiscountType!
discountValue: Float!
taxPercentages: [OrderTotalTaxPercentage!]!
}

Fields

OrderTotals.orderId ● Int! non-null scalar

The orderId of this Order

OrderTotals.gross ● Float! non-null scalar

The total of this Order excluding tax

OrderTotals.net ● Float! non-null scalar

The total of this Order including tax

OrderTotals.tax ● Float! non-null scalar

The total amount of tax for this Order

OrderTotals.discountType ● OrderDiscountType! non-null enum

The type of global discount

OrderTotals.discountValue ● Float! non-null scalar

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

OrderTotals.taxPercentages ● [OrderTotalTaxPercentage!]! non-null object

The totals per tax percentage

Member Of

Order object