CardLimitModel

@Serializable
data class CardLimitModel(val amount: Int, val period: Int, val typeString: String, val type: CardLimitTypeModel? = typeString.getEnum<CardLimitTypeModel>(), val merchantInformation: MerchantModel?)

Card limit.

Constructors

Link copied to clipboard
constructor(amount: Int, period: Int, typeString: String, type: CardLimitTypeModel? = typeString.getEnum<CardLimitTypeModel>(), merchantInformation: MerchantModel?)

Properties

Link copied to clipboard
@SerialName(value = "amount")
val amount: Int

The monetary value associated with a card transaction.

Link copied to clipboard
@SerialName(value = "merchantInformation")
val merchantInformation: MerchantModel?

Information about the Merchant to which this limit will apply. If no merchant is provided, the limit will apply to all merchants.

Link copied to clipboard
@SerialName(value = "period")
val period: Int

The time span over which the card's transaction history and limits are enforced in seconds.

Link copied to clipboard
@Transient
val type: CardLimitTypeModel?

Whether the limit is ROLLING or if it resets at the beginning of a day or month. Check typeString if null.

Link copied to clipboard
@SerialName(value = "type")
val typeString: String

Whether the limit is ROLLING or if it resets at the beginning of a day or month.