Skip to main content

OrderTotalInput

No description

input OrderTotalInput {
gross: Float!
net: Float!
tax: Float!
discountType: OrderDiscountType!
discountValue: Float!
}

Fields

OrderTotalInput.gross ● Float! non-null scalar

The total of this Order excluding tax

OrderTotalInput.net ● Float! non-null scalar

The total of this Order including tax

OrderTotalInput.tax ● Float! non-null scalar

The total amount of tax for this Order

OrderTotalInput.discountType ● OrderDiscountType! non-null enum

The type of global discount

OrderTotalInput.discountValue ● Float! non-null scalar

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

Member Of

OrderCreateInput input