ExpirationRulesModel

@Serializable
data class ExpirationRulesModel(val expirationDate: String? = null, val expirationTimes: Int? = null)

Rules to expire the rule.

Constructors

Link copied to clipboard
constructor(expirationDate: String? = null, expirationTimes: Int? = null)

Properties

Link copied to clipboard
@SerialName(value = "expiration_date")
val expirationDate: String? = null

The date/time on which the rule no longer applies (example: 2021-06-17T11:02:08.143Z).

Link copied to clipboard
@SerialName(value = "expiration_times")
val expirationTimes: Int? = null

The total amount of times a rule can be used per wallet before it expires.