new module:models/ProductListShippingAddress(addressId)
Constructs a new ProductListShippingAddress
.
Document representing a product list shipping address.
Parameters:
Name | Type | Description |
---|---|---|
addressId |
String | The id of this address. |
Members
(inner) address_id :String
The id of this address.
Type:
- String
(inner) city :String
The city of this address.
Type:
- String
(inner) first_name :String
The first name of this address.
Type:
- String
(inner) last_name :String
The last name of this address.
Type:
- String
Methods
(static) constructFromObject(data, obj) → {module:models/ProductListShippingAddress}
Constructs a ProductListShippingAddress
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/ProductListShippingAddress | Optional instance to populate. |
Returns:
The populated ProductListShippingAddress
instance.