IncentiveValueModel

data class IncentiveValueModel(    @Json(name = "amount") val amount: Int? = null,     @Json(name = "percent") val percent: Float? = null,     @Json(name = "cap") val cap: Int? = null)

Incentive amount to the transaction.

Constructors

Link copied to clipboard
fun IncentiveValueModel(    @Json(name = "amount") amount: Int? = null,     @Json(name = "percent") percent: Float? = null,     @Json(name = "cap") cap: Int? = null)

Properties

Link copied to clipboard
val amount: Int? = null

amount value associated with the incentive, in cents (1USD = 100).

Link copied to clipboard
val cap: Int? = null

amount value to cap the incentive, in cents (1USD = 100).

Link copied to clipboard
val percent: Float? = null

percent value to apply to the incentive transaction.