Constructor
new Address(options)
Creates an instance of the address client
- Source:
Parameters:
Name | Type | Description |
---|---|---|
options |
Object
|
configuration parameters |
Methods
getAddresses() → {Promise}
Retrieves a customer's address
- Source:
Parameters:
Name | Type | Description |
---|---|---|
parameters.apiUrl |
string
|
the API URL |
parameters.accessToken |
string
|
the oauth bearer token. |
Returns:
- Type:
-
Promise
- the http request promise