An order address.
Public Methods | |
magic string | getAddress1 () |
magic string | getAddress2 () |
magic string | getCity () |
magic string | getCompany () |
magic string | getCountry () |
magic string | getCountryCode () |
read-only More... | |
magic string | getCountryName () |
magic string | getName () |
magic string | getPhone () |
non-unique More... | |
magic string | getProvince () |
magic string | getProvinceCode () |
read-only More... | |
magic string | getZip () |
magic bool | hasPhone () |
magic bool | isDefault () |
magic $this | setAddress1 (string $address1) |
magic $this | setAddress2 (string $address2) |
magic $this | setCity (string $city) |
magic $this | setCompany (string $company) |
magic $this | setCountry (string $country) |
magic $this | setCountryName (string $name) |
magic $this | setName (string $name) |
magic $this | setPhone (string $phone) |
magic $this | setProvince (string $province) |
magic $this | setZip (string $zip) |
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) |
Additional Inherited Members | |
Public Properties inherited from Data | |
const | MAP = [] |
const | PATCH = [] |
Protected Properties inherited from Data | |
Api | $api |
Pool | $pool |
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... | |
magic string getAddress1 | ( | ) |
magic string getAddress2 | ( | ) |
magic string getCity | ( | ) |
magic string getCompany | ( | ) |
magic string getCountry | ( | ) |
magic string getCountryCode | ( | ) |
read-only
magic string getCountryName | ( | ) |
magic string getName | ( | ) |
magic string getPhone | ( | ) |
non-unique
magic string getProvince | ( | ) |
magic string getProvinceCode | ( | ) |
read-only
magic string getZip | ( | ) |
magic bool hasPhone | ( | ) |
magic bool isDefault | ( | ) |
magic $this setAddress1 | ( | string | $address1 | ) |
magic $this setAddress2 | ( | string | $address2 | ) |
magic $this setCity | ( | string | $city | ) |
magic $this setCompany | ( | string | $company | ) |
magic $this setCountry | ( | string | $country | ) |
magic $this setCountryName | ( | string | $name | ) |
magic $this setName | ( | string | $name | ) |
magic $this setPhone | ( | string | $phone | ) |
magic $this setProvince | ( | string | $province | ) |
magic $this setZip | ( | string | $zip | ) |