new module:models/CustomerAddressResult()
Constructs a new CustomerAddressResult
.
Result document containing an array of customer addresses.
- Source:
Members
(inner) count :Number
The number of returned documents.
Type:
- Number
- Source:
(inner) data :Array.<module:models/CustomerAddress>
The array of customer address documents.
Type:
- Array.<module:models/CustomerAddress>
- Source:
(inner) next :String
The URL of the next result page.
Type:
- String
- Source:
(inner) previous :String
The URL of the previous result page.
Type:
- String
- Source:
(inner) select :String
Type:
- String
- Source:
(inner) start :Number
The zero-based index of the first search hit to include in the result.
Type:
- Number
- Source:
(inner) total :Number
The total number of documents.
Type:
- Number
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/CustomerAddressResult}
Constructs a CustomerAddressResult
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/CustomerAddressResult | Optional instance to populate. |
- Source:
Returns:
The populated CustomerAddressResult
instance.