Skip to main content
Version: 3.x

OrderEventDiscountObject

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.