The shop.
Public Properties | |
const | TYPE = 'shop' |
Public Properties inherited from AbstractEntity | |
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... | |
Public Properties inherited from Data | |
const | MAP = [] |
const | PATCH = [] |
Public Methods | |
string | __toString () |
AbandonedCheckout[] | getAbandonedCheckouts (array $query=[]) |
int | getAbandonedCheckoutsCount () |
magic string | getAddress1 () |
magic string | getAddress2 () |
magic string | getCity () |
magic string | getCountry () |
magic string | getCountryCode () |
magic string | getCountryName () |
magic string | getCountyTaxes () |
magic string | getCreatedAt () |
magic string | getCurrency () |
magic string | getCustomerEmail () |
magic string | getDomain () |
magic string | getEmail () |
magic string | getEnabledPresentmentCurrencies () |
magic string | getGoogleAppsDomain () |
magic bool | getHasDiscounts () |
magic bool | getHasGiftCards () |
magic bool | getHasStorefront () |
magic string | getIanaTimezone () |
magic string | getLatitude () |
magic string | getLongitude () |
magic string | getMoneyFormat () |
magic string | getMoneyInEmailsFormat () |
magic string | getMoneyWithCurrencyFormat () |
magic string | getMoneyWithCurrencyInEmailsFormat () |
magic string | getMyshopifyDomain () |
magic string | getName () |
magic string | getPhone () |
magic string | getPlanDisplayName () |
magic string | getPrimaryLocale () |
magic string | getProvince () |
magic string | getProvinceCode () |
magic bool | getRequiresExtraPaymentsAgreement () |
magic string | getShopOwner () |
magic string | getSource () |
magic bool | getTaxesIncluded () |
magic bool | getTaxShipping () |
magic string | getTimezone () |
magic string | getUpdatedAt () |
magic string | getWeightUnit () |
magic string | getZip () |
magic bool | isCheckoutApiSupported () |
magic bool | isEligibleForCardReaderGiveaway () |
magic bool | isEligibleForPayments () |
magic bool | isForceSsl () |
magic bool | isGoogleAppsLoginEnabled () |
magic bool | isMultiLocationEnabled () |
magic bool | isPasswordEnabled () |
magic bool | isSetupRequired () |
Country | newCountry (string $code) |
Customer | newCustomer () |
Public Methods inherited from AbstractEntity | |
null string | getId () |
string[] | getPoolKeys () |
bool | hasId () |
$this | reload () |
Fully reloads the entity from Shopify. More... | |
Public Methods inherited from Data | |
mixed | __call (string $method, array $args) |
__construct ($caller, array $data=[]) | |
string | serialize () |
Dehydrated JSON encode. More... | |
array | toArray () |
void | unserialize ($serialized) |
Public Methods inherited from MetafieldTrait | |
Metafield[] | getMetafields () |
Metafield | newMetafield () |
Factory. More... | |
Additional Inherited Members | |
Protected Properties inherited from Data | |
Api | $api |
Pool | $pool |
Protected Methods inherited from AbstractEntity | |
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) |
Protected Methods inherited from Data | |
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... | |
Protected Methods inherited from MetafieldTrait | |
string | _metafieldType () |
|
final |
Reimplemented from AbstractEntity.
AbandonedCheckout [] getAbandonedCheckouts | ( | array | $query = [] | ) |
array | $query |
int getAbandonedCheckoutsCount | ( | ) |
magic string getAddress1 | ( | ) |
magic string getAddress2 | ( | ) |
magic string getCity | ( | ) |
magic string getCountry | ( | ) |
magic string getCountryCode | ( | ) |
magic string getCountryName | ( | ) |
magic string getCountyTaxes | ( | ) |
magic string getCreatedAt | ( | ) |
magic string getCurrency | ( | ) |
magic string getCustomerEmail | ( | ) |
magic string getDomain | ( | ) |
magic string getEmail | ( | ) |
magic string getEnabledPresentmentCurrencies | ( | ) |
magic string getGoogleAppsDomain | ( | ) |
magic bool getHasDiscounts | ( | ) |
magic bool getHasGiftCards | ( | ) |
magic bool getHasStorefront | ( | ) |
magic string getIanaTimezone | ( | ) |
magic string getLatitude | ( | ) |
magic string getLongitude | ( | ) |
magic string getMoneyFormat | ( | ) |
magic string getMoneyInEmailsFormat | ( | ) |
magic string getMoneyWithCurrencyFormat | ( | ) |
magic string getMoneyWithCurrencyInEmailsFormat | ( | ) |
magic string getMyshopifyDomain | ( | ) |
magic string getName | ( | ) |
magic string getPhone | ( | ) |
magic string getPlanDisplayName | ( | ) |
magic string getPrimaryLocale | ( | ) |
magic string getProvince | ( | ) |
magic string getProvinceCode | ( | ) |
magic bool getRequiresExtraPaymentsAgreement | ( | ) |
magic string getShopOwner | ( | ) |
magic string getSource | ( | ) |
magic bool getTaxesIncluded | ( | ) |
magic bool getTaxShipping | ( | ) |
magic string getTimezone | ( | ) |
magic string getUpdatedAt | ( | ) |
magic string getWeightUnit | ( | ) |
magic string getZip | ( | ) |
magic bool isCheckoutApiSupported | ( | ) |
magic bool isEligibleForCardReaderGiveaway | ( | ) |
magic bool isEligibleForPayments | ( | ) |
magic bool isForceSsl | ( | ) |
magic bool isGoogleAppsLoginEnabled | ( | ) |
magic bool isMultiLocationEnabled | ( | ) |
magic bool isPasswordEnabled | ( | ) |
magic bool isSetupRequired | ( | ) |