An applied discount in an AbandonedCheckout.
|
const | TYPE_FIXED_AMOUNT = 'fixed_amount' |
|
const | TYPE_PERCENTAGE = 'percentage' |
|
const | TYPE_SHIPPING = 'shipping' |
|
const | MAP = [] |
|
const | PATCH = [] |
|
|
Api | $api |
|
Pool | $pool |
|
mixed | _hydrate (string $class, $item) |
| A factory that also hydrates / caches entities. More...
|
|
array | _select ($subject, callable $filter,... $args) |
| Magic method: selectField(callable $filter) More...
|
|
$this | _setData (array $data) |
| Clears all diffs and sets all data, hydrating mapped fields. More...
|
|
$this | _setField (string $field, $value) |
| Sets a value, hydrating if mapped, and clears the diff. More...
|
|
◆ getAmount()
magic number getAmount |
( |
| ) |
|
◆ getCode()
◆ getCreatedAt()
magic string getCreatedAt |
( |
| ) |
|
◆ getType()
See the type constants.
- Returns
- string
◆ getUpdatedAt()
magic string getUpdatedAt |
( |
| ) |
|
◆ getUsageCount()
magic string getUsageCount |
( |
| ) |
|