Reward
data class Reward(val id: Int, val name: String, val inventoryCount: Int, val description: String, val maxRedemptionCount: Int, val cost: RewardValue?, val startAt: Calendar, val expiryAt: Calendar?, val imageUrl: String, val categories: List<String>)
Data class representing a reward in the loyalty program.
Parameters
id
The ID of the reward in the reward store.
name
The name of the reward in the reward store.
inventory Count
How many of this reward are available in the reward store.
description
Description of the reward in the reward store.
max Redemption Count
How many of this reward can be redeemed.
cost
The cost of the award.
start At
The time the reward is available for redemption.
expiry At
The time the reward is no longer available for redemption.
image Url
URL of the reward image in the reward store.
categories
List of reward categories.