Reward Redemption
data class RewardRedemption(val id: Int, val transactionId: String, val status: RedemptionStatus, val quantity: Int, val cost: RewardValue?, val requestedAt: Calendar, val expiryAt: Calendar?, val reward: RewardBase?, val balance: RewardValue?)
Data class representing the customer's redemption of a reward.
Parameters
id
The ID of the reward in the reward store.
transaction Id
Unique identifier for the transaction.
status
Status of the redemption.
quantity
Number of reward items included in this redemption.
cost
The cost of the award.
requested At
When the redemption was requested.
expiry At
When the redemption expires.
reward
The reward.
balance
The available balance.
Constructors
Link copied to clipboard
constructor(id: Int, transactionId: String, status: RedemptionStatus, quantity: Int, cost: RewardValue?, requestedAt: Calendar, expiryAt: Calendar?, reward: RewardBase?, balance: RewardValue?)