Property | Description | Returns |
---|---|---|
displayType | Returns the nice name of an action type | string |
type | Returns the type of condition | string |
snakeType | Returns the type of condition in the snake case format: lowercase and connected by underline | string |
slugType | Returns the type of condition in the slug format: lowercase and connected by hyphen | string |
id | int | |
name | string | |
value | string | |
modifier | string | |
waterfall | When `true` every following discount applies to the previously discounted price, when `false` discount is applied to the original item price | bool |
data | array | |
created | Date the record was created. | DateTime |
modified | Last modification date for the record. | DateTime |
rule | Rule |
Discounts\Models\Api\ShippingAction
Shipping action applies a discount to the shipping value.