Credit

data class Credit(val value: MonetaryAmount) : ActivityReward

The credits gained by activity rewards.

Constructors

Link copied to clipboard
constructor(value: MonetaryAmount)

Properties

Link copied to clipboard

Inherited 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.