Class: Address

.models. Address

A class representing a postal address

new Address( [data])

Create a new postal address
Parameters:
Name Type Argument Description
data Object <optional>
The data to use for this address
Properties
Name Type Argument Description
apartmentNumber String <optional>
The apartment or unit number, along with any abbreviations, e.g. Apt 20.
country String <optional>
The country this address is located in
locality String <optional>
The locality or city for this Address
postalBoxNumber String <optional>
The postal box number
postalCode String <optional>
The postal code for this address (as a string rather than a number)
region String <optional>
The region or state for this Address
streetAddress String <optional>
The street address, not including apartment or unit number
Properties:
Name Type Description
apartmentNumber String The apartment or unit number, along with any abbreviations, e.g. Apt 20
country String The country this address is located in
locality String The locality or city for this Address
postalBoxNumber String The postal box number
postalCode String The postal code for this address (as a string rather than a number)
region String The region or state for this Address
streetAddress String The street address, not including apartment or unit number