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

valueType ● DiscountValueTypeEnum!

Type of the discount: fixed or percent.

value ● PositiveDecimal!

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

reason ● String

Explanation for the applied discount.

amount ● Money

Returns amount of discount.

oldValueType ● DiscountValueTypeEnum

Type of the discount: fixed or percent.

oldValue ● PositiveDecimal

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

oldAmount ● Money

Returns amount of discount.

Member Of

OrderEvent object ● OrderEventOrderLineObject object