OrderDiscount
Contains all details related to the applied discount to the order.
type OrderDiscount implements Node {
id: ID!
type: OrderDiscountType!
name: String
translatedName: String
valueType: DiscountValueTypeEnum!
value: PositiveDecimal!
reason: String
amount: Money!
}
Fields
OrderDiscount.id
● ID!
non-null scalar
The ID of discount applied.
OrderDiscount.type
● OrderDiscountType!
non-null enum
The type of applied discount: Sale, Voucher or Manual.