DeliveryRuleResponse

data class DeliveryRuleResponse(val actions: List<Any>, val conditions: List<Any>? = null, val name: String? = null, val order: Int)

A rule that specifies a set of actions and conditions

Constructors

Link copied to clipboard
constructor(actions: List<Any>, conditions: List<Any>? = null, name: String? = null, order: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A list of actions that are executed when all the conditions of a rule are satisfied.

Link copied to clipboard
val conditions: List<Any>? = null

A list of conditions that must be matched for the actions to be executed

Link copied to clipboard
val name: String? = null

Name of the rule

Link copied to clipboard
val order: Int

The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.