Skip to main content

OrderEventDiscountObject Object

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 discounts

Type of the discount: fixed or percent.

OrderEventDiscountObject.value ● PositiveDecimal! non-null scalar miscellaneous

Value of the discount. Can store fixed value or percent value.

OrderEventDiscountObject.reason ● String scalar miscellaneous

Explanation for the applied discount.

OrderEventDiscountObject.amount ● Money object miscellaneous

Returns amount of discount.

OrderEventDiscountObject.oldValueType ● DiscountValueTypeEnum enum discounts

Type of the discount: fixed or percent.

OrderEventDiscountObject.oldValue ● PositiveDecimal scalar miscellaneous

Value of the discount. Can store fixed value or percent value.

OrderEventDiscountObject.oldAmount ● Money object miscellaneous

Returns amount of discount.

Member Of

OrderEvent object ● OrderEventOrderLineObject object