Constructor
(abstract) new PostalAddress(options)
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | see below the available values.
Properties
|
Members
(protected) city :String
Type:
- String
(protected) country :String
Type:
- String
(protected) countryCode :String
Type:
- String
(protected) county :String
Type:
- String
(protected) district :String
Type:
- String
(protected) postalCode :String
Type:
- String
(protected) roadNumber :String
Type:
- String
(protected) state :String
Type:
- String
(protected) street :String
Type:
- String
(protected) streetNumber :String
Type:
- String
Methods
getCity() → {String}
Get city.
Returns:
city.
- Type
- String
getCountry() → {String}
Get Country.
Returns:
country.
- Type
- String
getCountryCode() → {String}
Get country code.
Returns:
countryCode.
- Type
- String
getCounty() → {String}
Get county.
Returns:
county.
- Type
- String
getDistrict() → {String}
Get district.
Returns:
district.
- Type
- String
getPostalCode() → {String}
Get postal code.
Returns:
postalCode.
- Type
- String
getRoadNumber() → {String}
Get road number
Returns:
roadNumber
- Type
- String
getState() → {String}
Get State.
Returns:
state.
- Type
- String
getStreet() → {String}
Get street.
Returns:
street.
- Type
- String
getStreetNumber() → {String}
Get street number
Returns:
streetNumber
- Type
- String