A Shopify+ store staff account.
- Immutable:
- Cannot be modified via the API.
- See also
- https://shopify.dev/docs/admin-api/rest/reference/plus/user
|
const | PERM_APPLICATIONS = 'applications' |
|
const | PERM_CUSTOMERS = 'customers' |
|
const | PERM_DASHBOARD = 'dashboard' |
|
const | PERM_FULL = 'full' |
|
const | PERM_GIFT_CARDS = 'gift_cards' |
|
const | PERM_LINKS = 'links' |
|
const | PERM_MARKETING = 'marketing' |
|
const | PERM_ORDERS = 'orders' |
|
const | PERM_PAGES = 'pages' |
|
const | PERM_PREFERENCES = 'preferences' |
|
const | PERM_PRODUCTS = 'products' |
|
const | PERM_REPORTS = 'reports' |
|
const | PERM_THEMES = 'themes' |
|
const | TYPE_COLLABORATOR = 'collaborator' |
|
const | TYPE_INVITED = 'invited' |
|
const | TYPE_REGULAR = 'regular' |
|
const | TYPE_RESTRICTED = 'restricted' |
|
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...
|
|
◆ getBio()
◆ getEmail()
magic string getEmail |
( |
| ) |
|
◆ getFirstName()
magic string getFirstName |
( |
| ) |
|
◆ getIm()
◆ getLastName()
magic string getLastName |
( |
| ) |
|
◆ getLocale()
magic string getLocale |
( |
| ) |
|
◆ getPermissions()
magic string [] getPermissions |
( |
| ) |
|
◆ getPhone()
magic string getPhone |
( |
| ) |
|
◆ getReceiveAnnouncements()
magic int getReceiveAnnouncements |
( |
| ) |
|
◆ getUrl()
◆ getUserType()
magic string getUserType |
( |
| ) |
|
◆ hasPermissions()
magic bool hasPermissions |
( |
| ) |
|
◆ isAccountOwner()
magic bool isAccountOwner |
( |
| ) |
|