# BestReward

class 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;?)

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.

## Constructors

| | |
|---|---|
| [BestReward](/developers/references/android/id-frak-sdk-rewards/bestreward/bestreward/) | constructor(formatted: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), payoutType: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), minPurchaseAmount: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?, minPurchaseValue: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?, lockupDurationDays: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?, isProductScoped: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html), 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;?) |

## Properties

| Name | Summary |
|---|---|
| [formatted](/developers/references/android/id-frak-sdk-rewards/bestreward/formatted/) | val [formatted](/developers/references/android/id-frak-sdk-rewards/bestreward/formatted/): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [isProductScoped](/developers/references/android/id-frak-sdk-rewards/bestreward/isproductscoped/) | val [isProductScoped](/developers/references/android/id-frak-sdk-rewards/bestreward/isproductscoped/): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)<br>Whether the selected campaign is gated to a `productScope`; not the reward's basis. |
| [lockupDurationDays](/developers/references/android/id-frak-sdk-rewards/bestreward/lockupdurationdays/) | val [lockupDurationDays](/developers/references/android/id-frak-sdk-rewards/bestreward/lockupdurationdays/): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)? |
| [matchedProducts](/developers/references/android/id-frak-sdk-rewards/bestreward/matchedproducts/) | val [matchedProducts](/developers/references/android/id-frak-sdk-rewards/bestreward/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 requested products matching the winning campaign's scope; null when unscoped or none requested. |
| [minPurchaseAmount](/developers/references/android/id-frak-sdk-rewards/bestreward/minpurchaseamount/) | val [minPurchaseAmount](/developers/references/android/id-frak-sdk-rewards/bestreward/minpurchaseamount/): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? |
| [minPurchaseValue](/developers/references/android/id-frak-sdk-rewards/bestreward/minpurchasevalue/) | val [minPurchaseValue](/developers/references/android/id-frak-sdk-rewards/bestreward/minpurchasevalue/): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)? |
| [payoutType](/developers/references/android/id-frak-sdk-rewards/bestreward/payouttype/) | val [payoutType](/developers/references/android/id-frak-sdk-rewards/bestreward/payouttype/): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>`fixed`/`percentage`/`tiered`. `String`, not an enum, so a new server value still decodes. |

## Functions

| Name | Summary |
|---|---|
| equals | open operator override fun equals(other: [Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) |
| hashCode | open override fun hashCode(): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| toString | open override fun toString(): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |