new module:model/AccountAddress()
- Source:
Constructs a new AccountAddress
.
Contains information about an account address.
Members
(inner) address1 :String
- Source:
First Line of the address. Maximum length: 100 characters.
Type:
- String
(inner) address2 :String
- Source:
Second Line of the address. Maximum length: 100 characters.
Type:
- String
(inner) city :String
- Source:
The city value of the address.
Type:
- String
(inner) country :String
- Source:
Specifies the country associated with the address.
Type:
- String
(inner) email :String
- Source:
Type:
- String
(inner) fax :String
- Source:
Type:
- String
(inner) firstName :String
- Source:
The user's first name. Maximum Length: 50 characters.
Type:
- String
(inner) lastName :String
- Source:
Type:
- String
(inner) phone :String
- Source:
Type:
- String
(inner) postalCode :String
- Source:
Type:
- String
(inner) state :String
- Source:
The state or province associated with the address.
Type:
- String
(inner) supportedCountries :Array.<module:model/Country>
- Source:
Contains an array of countries supported by the billing plan.
Type:
- Array.<module:model/Country>
Methods
(static) constructFromObject(data, obj) → {module:model/AccountAddress}
- Source:
Constructs a AccountAddress
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:model/AccountAddress | Optional instance to populate. |
Returns:
The populated AccountAddress
instance.