DiscountOption

constructor(amount: Long, currencyCode: String, type: DiscountOptionType, redemption: DiscountRedemption?)

Parameters

amount

Discount amount in minor currency units.

currencyCode

Currency alphabetic code as specified by ISO 4217.

type

Discount source type.

redemption

Identifies the chosen discount option for redemption APIs.