Frontend | Backend | Api

Discounts\Models\Api\Rule

Rule

Property Description Returns
id int
name string
position int
final Once the rule matches its conditions, further rules will not be considered bool
active Defines if rule conditions should be checked or the whole rule is skipped bool
created Date the record was created. DateTime
modified Last modification date for the record. DateTime
discount Discount
conditions Collection (BaseCondition)
actions Collection (BaseAction)