RewardRedemption

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.

transactionId

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.

requestedAt

When the redemption was requested.

expiryAt

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?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard