Skip to main content

DiscountValue

The value of a discount, as a fixed amount or a percentage.

type DiscountValue {
amount: Money
percentage: Int
type: DiscountValueType!
}

Fields​

DiscountValue.amount ● Money object types​

The fixed amount the discount takes off. Null for a percentage discount.

DiscountValue.percentage ● Int scalar types​

The percentage the discount takes off, where 10 means 10%. Null for a fixed amount discount.

DiscountValue.type ● DiscountValueType! non-null enum types​

Whether the discount is a fixed amount or a percentage.

Member Of​

Discount object ● DiscountLineSet object