OrderEventDiscountObject
No description
type OrderEventDiscountObject {
valueType: DiscountValueTypeEnum!
value: PositiveDecimal!
reason: String
amount: Money
oldValueType: DiscountValueTypeEnum
oldValue: PositiveDecimal
oldAmount: Money
}
Fields
OrderEventDiscountObject.valueType ● DiscountValueTypeEnum! non-null enum
Type of the discount: fixed or percent.
OrderEventDiscountObject.value ● PositiveDecimal! non-null scalar
Value of the discount. Can store fixed value or percent value.
OrderEventDiscountObject.reason ● String scalar
Explanation for the applied discount.
OrderEventDiscountObject.amount ● Money object
Returns amount of discount.
OrderEventDiscountObject.oldValueType ● DiscountValueTypeEnum enum
Type of the discount: fixed or percent.
OrderEventDiscountObject.oldValue ● PositiveDecimal scalar
Value of the discount. Can store fixed value or percent value.
OrderEventDiscountObject.oldAmount ● Money object
Returns amount of discount.
Member of
OrderEvent object ● OrderEventOrderLineObject object
Was this page helpful?