IncentiveRuleDetailsModel

@Serializable
data class IncentiveRuleDetailsModel(val incentiveRuleUuid: String, val externalId: String, val incentiveTypeString: String, val incentiveType: IncentiveTypeModel? = incentiveTypeString.getEnum<IncentiveTypeModel>(), val transactionTypeString: String?, val transactionType: TransactionTypeModel? = transactionTypeString?.getEnum<TransactionTypeModel>(), val description: String, val scopeString: String, val scope: IncentiveScopeModel? = scopeString.getEnum<IncentiveScopeModel>(), val incentiveRuleStatusString: String?, val incentiveRuleStatus: IncentiveRuleStatusModel? = incentiveRuleStatusString?.getEnum<IncentiveRuleStatusModel>(), val value: IncentiveValueModel, val merchants: IncentiveMerchantsModel?, val expirationRules: ExpirationRulesModel?, val createdAt: String, val updatedAt: String)

Incentive Rule Details.

Constructors

Link copied to clipboard
constructor(incentiveRuleUuid: String, externalId: String, incentiveTypeString: String, incentiveType: IncentiveTypeModel? = incentiveTypeString.getEnum<IncentiveTypeModel>(), transactionTypeString: String?, transactionType: TransactionTypeModel? = transactionTypeString?.getEnum<TransactionTypeModel>(), description: String, scopeString: String, scope: IncentiveScopeModel? = scopeString.getEnum<IncentiveScopeModel>(), incentiveRuleStatusString: String?, incentiveRuleStatus: IncentiveRuleStatusModel? = incentiveRuleStatusString?.getEnum<IncentiveRuleStatusModel>(), value: IncentiveValueModel, merchants: IncentiveMerchantsModel?, expirationRules: ExpirationRulesModel?, createdAt: String, updatedAt: String)

Properties

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: String

Card creation date.

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

Description of the incentive rule.

Link copied to clipboard
@SerialName(value = "expiration_rules")
val expirationRules: ExpirationRulesModel?

Rules to expire the rule.

Link copied to clipboard
@SerialName(value = "external_id")
val externalId: String

External identifier in your platform.

Link copied to clipboard

Incentive rule status. Check incentiveRuleStatusString if null.

Link copied to clipboard
@SerialName(value = "status")
val incentiveRuleStatusString: String?

Incentive rule status.

Link copied to clipboard
@SerialName(value = "incentive_rule_uuid")
val incentiveRuleUuid: String

Incentive rule unique identifier.

Link copied to clipboard

Incentive type. Check incentiveTypeString if null.

Link copied to clipboard
@SerialName(value = "incentive_type")
val incentiveTypeString: String

Incentive type.

Link copied to clipboard
@SerialName(value = "merchants")
val merchants: IncentiveMerchantsModel?

Merchants to which the incentive rule apply.

Link copied to clipboard
@Transient
val scope: IncentiveScopeModel?

Scope to which entities this rule apply. Check scopeString if null.

Link copied to clipboard
@SerialName(value = "scope")
val scopeString: String

Scope to which entities this rule apply.

Link copied to clipboard
@Transient
val transactionType: TransactionTypeModel?

Transaction type. Check transactionTypeString if null.

Link copied to clipboard
@SerialName(value = "transaction_type")
val transactionTypeString: String?

Transaction type.

Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: String

Card modification date.

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

Value of incentive to be applied on the total amount of the transaction.