# id.frak.sdk.rewards

## Types

| Name | Summary |
|---|---|
| [BestReward](/developers/references/android/id-frak-sdk-rewards/bestreward/) | class [BestReward](/developers/references/android/id-frak-sdk-rewards/bestreward/)(val formatted: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val payoutType: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val minPurchaseAmount: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?, val minPurchaseValue: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?, val lockupDurationDays: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?, val isProductScoped: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), val matchedProducts: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[ProductDetails](/developers/references/android/id-frak-sdk-core/productdetails/)&gt;?)<br>The single reward worth advertising, formatted server-side. formatted contains a non-breaking space (U+00A0) before the currency symbol; render as-is, do not reformat. |
| [Campaign](/developers/references/android/id-frak-sdk-rewards/campaign/) | class [Campaign](/developers/references/android/id-frak-sdk-rewards/campaign/)(val campaignId: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val name: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val interactionTypeKey: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val referrer: [EstimatedReward](/developers/references/android/id-frak-sdk-rewards/estimatedreward/)?, val referee: [EstimatedReward](/developers/references/android/id-frak-sdk-rewards/estimatedreward/)?, val defaultLockupSeconds: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?, val maxRewardsPerUser: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?, val expiresAt: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?)<br>One active campaign. Arrives sorted by priority descending; do not re-sort. |
| [EstimatedReward](/developers/references/android/id-frak-sdk-rewards/estimatedreward/) | sealed class [EstimatedReward](/developers/references/android/id-frak-sdk-rewards/estimatedreward/)<br>What a campaign pays out. [Percentage](/developers/references/android/id-frak-sdk-rewards/estimatedreward/percentage/) has no concrete amount so it's suppressed from display. |
| [RewardAudience](/developers/references/android/id-frak-sdk-rewards/rewardaudience/) | enum [RewardAudience](/developers/references/android/id-frak-sdk-rewards/rewardaudience/) : [Enum](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-enum/index.html)&lt;[RewardAudience](/developers/references/android/id-frak-sdk-rewards/rewardaudience/)&gt; <br>Who a reward is being estimated for: sharer ([REFERRER](/developers/references/android/id-frak-sdk-rewards/rewardaudience/referrer/)) or arriving referee ([REFEREE](/developers/references/android/id-frak-sdk-rewards/rewardaudience/referee/)). |
| [RewardRequest](/developers/references/android/id-frak-sdk-rewards/rewardrequest/) | class [RewardRequest](/developers/references/android/id-frak-sdk-rewards/rewardrequest/)<br>What to look a reward up for. Build with [Builder](/developers/references/android/id-frak-sdk-rewards/rewardrequest/builder/), or `RewardRequest { }` from Kotlin. |
| [RewardTier](/developers/references/android/id-frak-sdk-rewards/rewardtier/) | sealed class [RewardTier](/developers/references/android/id-frak-sdk-rewards/rewardtier/)<br>One band of a tiered reward. Null `maxValue` means no upper bound (not a sentinel). |
| [TokenAmount](/developers/references/android/id-frak-sdk-rewards/tokenamount/) | class [TokenAmount](/developers/references/android/id-frak-sdk-rewards/tokenamount/)(val amount: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), val eurAmount: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), val usdAmount: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), val gbpAmount: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html))<br>A reward amount in raw token units and each fiat currency the backend prices. |

## Functions

| Name | Summary |
|---|---|
| [RewardRequest](/developers/references/android/id-frak-sdk-rewards/rewardrequest-fun/) | fun [RewardRequest](/developers/references/android/id-frak-sdk-rewards/rewardrequest-fun/)(configure: [RewardRequest.Builder](/developers/references/android/id-frak-sdk-rewards/rewardrequest/builder/).() -&gt; [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)): [RewardRequest](/developers/references/android/id-frak-sdk-rewards/rewardrequest/)<br>Kotlin sugar over [RewardRequest.Builder](/developers/references/android/id-frak-sdk-rewards/rewardrequest/builder/). |