ActivityReward

sealed class ActivityReward

The summary of the rewards granted as a result of activities completed.

Inheritors

Types

Link copied to clipboard
data class Credit(val value: MonetaryAmount) : ActivityReward

The credits gained by activity rewards.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ActivityReward as a Credit and retrieves its aws.sdk.kotlin.services.freetier.model.MonetaryAmount value. Throws an exception if the ActivityReward is not a Credit.

Link copied to clipboard

Casts this ActivityReward as a Credit and retrieves its aws.sdk.kotlin.services.freetier.model.MonetaryAmount value. Returns null if the ActivityReward is not a Credit.