IncentivesRequest

@Serializable
data class IncentivesRequest(val ruleUuids: List<String>? = null, val incentiveRules: List<IncentiveRuleRequest>? = null)

Incentive rules to be applied on this card. This can be passed on as an array of existing incentive rule entities, or as an array of incentive rules that will be created ad-hoc as part of this card.

Constructors

Link copied to clipboard
constructor(ruleUuids: List<String>? = null, incentiveRules: List<IncentiveRuleRequest>? = null)

Properties

Link copied to clipboard
@SerialName(value = "incentive_rules")
val incentiveRules: List<IncentiveRuleRequest>? = null

Incentive rules that will be created.

Link copied to clipboard
@SerialName(value = "rule_uuids")
val ruleUuids: List<String>? = null

Existing incentive rules.