OrderEventDiscountObject Object
type OrderEventDiscountObject {
valueType: DiscountValueTypeEnum!
value: PositiveDecimal!
reason: String
amount: Money
oldValueType: DiscountValueTypeEnum
oldValue: PositiveDecimal
oldAmount: Money
}
Fields
valueType
valueType · DiscountValueTypeEnum!
Type of the discount: fixed or percent.
value
value · PositiveDecimal!
Value of the discount. Can store fixed value or percent value.
reason
reason · String
Explanation for the applied discount.
amount
amount · Money
Returns amount of discount.
oldValueType
oldValueType · DiscountValueTypeEnum
Type of the discount: fixed or percent.
oldValue
oldValue · PositiveDecimal
Value of the discount. Can store fixed value or percent value.
oldAmount
oldAmount · Money
Returns amount of discount.
Used by
Schema: Saleor 3.23.43. Download SDL.