Reward

constructor(id: Int, name: String, inventoryCount: Int, description: String, maxRedemptionCount: Int, cost: RewardValue?, startAt: Calendar, expiryAt: Calendar?, imageUrl: String, categories: List<String>)

Parameters

id

The ID of the reward in the reward store.

name

The name of the reward in the reward store.

inventoryCount

How many of this reward are available in the reward store.

description

Description of the reward in the reward store.

maxRedemptionCount

How many of this reward can be redeemed.

cost

The cost of the award.

startAt

The time the reward is available for redemption.

expiryAt

The time the reward is no longer available for redemption.

imageUrl

URL of the reward image in the reward store.

categories

List of reward categories.