IncentiveValueModel

@Serializable
data class IncentiveValueModel(val amount: Long? = null, val percent: Float? = null, val cap: Long? = null)

Incentive amount to the transaction.

Constructors

Link copied to clipboard
constructor(amount: Long? = null, percent: Float? = null, cap: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "amount")
val amount: Long? = null

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

Link copied to clipboard
@SerialName(value = "cap")
val cap: Long? = null

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

Link copied to clipboard
@SerialName(value = "percent")
val percent: Float? = null

percent value to apply to the incentive transaction.