Skip to main content

MobileDiscountLine

One attributed slice of an order line's discount. kind is TIER (the buyer's customer/loyalty tier scheme), SCHEME (any other configured scheme) or MANUAL (a keyed-in concession the pricing engine did not produce).

type MobileDiscountLine {
amount: Float!
kind: String!
label: String!
percent: Float
}

Fields​

MobileDiscountLine.amount ● Float! non-null scalar​

This slice's LINE amount (already scaled by quantity) in the order currency.

MobileDiscountLine.kind ● String! non-null scalar​

TIER | SCHEME | MANUAL

MobileDiscountLine.label ● String! non-null scalar​

Scheme name (or 'Manual discount') to render next to the amount.

MobileDiscountLine.percent ● Float scalar​

The scheme's declared percentage; null for an amount-only line.

Member Of​

MobileOrderItem object