Members
(inner) companyName :String
Type:
- String
- Source:
(inner) country :module:models/CountryOCC
Type:
- Source:
(inner) email :String
Type:
- String
- Source:
(inner) firstName :String
Type:
- String
- Source:
(inner) formattedAddress :String
Type:
- String
- Source:
(inner) id :String
Type:
- String
- Source:
(inner) lastName :String
Type:
- String
- Source:
(inner) line1 :String
Type:
- String
- Source:
(inner) line2 :String
Type:
- String
- Source:
(inner) phone :String
Type:
- String
- Source:
(inner) postalCode :String
Type:
- String
- Source:
(inner) region :module:models/RegionOCC
Type:
- Source:
(inner) shippingAddress :Boolean
Type:
- Boolean
- Source:
(inner) title :String
Type:
- String
- Source:
(inner) titleCode :String
Type:
- String
- Source:
(inner) town :String
Type:
- String
- Source:
(inner) visibleInAddressBook :Boolean
Type:
- Boolean
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/Address}
Constructs a Address
from a plain JavaScript object,
optionally creating a new instance. Copies all relevant properties from
data
to obj
if supplied or a new instance if
not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:models/Address | Optional instance to populate. |
- Source:
Returns:
The populated
Address
instance.