|
|
const | DIR = 'gift_cards' |
| |
|
const | SEARCH_STATUS_DISABLED = 'disabled' |
| |
|
const | SEARCH_STATUS_ENABLED = 'enabled' |
| |
|
const | TYPE = 'gift_card' |
| |
| const | DIR = '' |
| | All subclasses must redeclare this to match their REST directory (without container). More...
|
| |
| const | TYPE = '' |
| | All subclasses must redeclare this to match their types. More...
|
| |
|
const | MAP = [] |
| |
|
const | PATCH = [] |
| |
|
|
Api | $api |
| |
|
Pool | $pool |
| |
| static null self | load ($caller, string $id, array $query=[]) |
| |
| static self[] | loadAll ($caller, string $path, array $query=[]) |
| |
| null AbstractEntity | _container () |
| | The container/owner object, if any. More...
|
| |
| mixed | _get (string $field) |
| | Lazy-loads missing fields. More...
|
| |
|
void | _onDelete () |
| |
|
void | _onSave () |
| |
| void | _reload (string $field) |
| |
| 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...
|
| |
| string | _dir () |
| | The POST directory. More...
|
| |
◆ getApiClientId()
| magic string getApiClientId |
( |
| ) |
|
◆ getBalance()
| magic number getBalance |
( |
| ) |
|
◆ getCreatedAt()
| magic string getCreatedAt |
( |
| ) |
|
◆ getCurrency()
| magic string getCurrency |
( |
| ) |
|
◆ getCustomer()
◆ getCustomerId()
| magic string getCustomerId |
( |
| ) |
|
◆ getDisabledAt()
| magic string getDisabledAt |
( |
| ) |
|
◆ getExpiresOn()
| magic null string getExpiresOn |
( |
| ) |
|
◆ getInitialValue()
| magic number getInitialValue |
( |
| ) |
|
◆ getLastCharacters()
| magic string getLastCharacters |
( |
| ) |
|
◆ getLineItemId()
| magic string getLineItemId |
( |
| ) |
|
◆ getNote()
◆ getOrder()
◆ getOrderId()
| magic string getOrderId |
( |
| ) |
|
◆ getTemplateSuffix()
| magic null string getTemplateSuffix |
( |
| ) |
|
◆ getUpdatedAt()
| magic string getUpdatedAt |
( |
| ) |
|
◆ getUser()
◆ getUserId()
| magic string getUserId |
( |
| ) |
|
◆ setApiClientId()
| magic $this setApiClientId |
( |
string |
$id | ) |
|
◆ setBalance()
| magic $this setBalance |
( |
number |
$balance | ) |
|
◆ setCode()
| magic $this setCode |
( |
string |
$code | ) |
|
◆ setCreatedAt()
| magic $this setCreatedAt |
( |
string |
$iso8601 | ) |
|
◆ setCurrency()
| magic $this setCurrency |
( |
string |
$currency | ) |
|
◆ setCustomerId()
| magic $this setCustomerId |
( |
string |
$id | ) |
|
◆ setDisabledAt()
| magic $this setDisabledAt |
( |
string |
$iso8601 | ) |
|
◆ setExpiresOn()
| magic $this setExpiresOn |
( |
?string |
$date | ) |
|
◆ setInitialValue()
| magic $this setInitialValue |
( |
number |
$value | ) |
|
◆ setLineItemId()
| magic $this setLineItemId |
( |
string |
$id | ) |
|
◆ setNote()
| magic $this setNote |
( |
string |
$note | ) |
|
◆ setOrderId()
| magic $this setOrderId |
( |
string |
$id | ) |
|
◆ setTemplateSuffix()
| magic $this setTemplateSuffix |
( |
?string |
$suffix | ) |
|
◆ setUpdatedAt()
| magic $this setUpdatedAt |
( |
string |
$iso8601 | ) |
|
◆ setUserId()
| magic $this setUserId |
( |
string |
$id | ) |
|