@Introspected
public class Address
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COUNTRY |
static java.lang.String |
LOCALITY |
static java.lang.String |
POSTAL_CODE |
static java.lang.String |
REGION |
static java.lang.String |
STREET_ADDRESS |
Constructor and Description |
---|
Address(java.util.Map<java.lang.String,java.lang.Object> map) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCountry() |
java.lang.String |
getFormatted() |
java.lang.String |
getLocality() |
java.lang.String |
getPostalCode() |
java.lang.String |
getRegion() |
java.lang.String |
getStreetAddress() |
void |
setCountry(java.lang.String country)
Address's country.
|
void |
setFormatted(java.lang.String formatted) |
void |
setLocality(java.lang.String locality)
Address's locality.
|
void |
setPostalCode(java.lang.String postalCode)
Address's postal code.
|
void |
setRegion(java.lang.String region)
Address' region.
|
void |
setStreetAddress(java.lang.String streetAddress)
Sets the full street address.
|
public static final java.lang.String COUNTRY
public static final java.lang.String STREET_ADDRESS
public static final java.lang.String LOCALITY
public static final java.lang.String POSTAL_CODE
public static final java.lang.String REGION
public Address(java.util.Map<java.lang.String,java.lang.Object> map)
map
- The address data@Nullable public java.lang.String getStreetAddress()
public void setStreetAddress(@Nullable java.lang.String streetAddress)
streetAddress
- Street address.@Nullable public java.lang.String getLocality()
public void setLocality(@Nullable java.lang.String locality)
locality
- Locality@Nullable public java.lang.String getRegion()
public void setRegion(@Nullable java.lang.String region)
region
- Region.@Nullable public java.lang.String getPostalCode()
public void setPostalCode(@Nullable java.lang.String postalCode)
postalCode
- Postal code.@Nullable public java.lang.String getCountry()
public void setCountry(@Nullable java.lang.String country)
country
- country.@Nullable public java.lang.String getFormatted()
public void setFormatted(@Nullable java.lang.String formatted)
formatted
- Full mailing address, formatted for display or use on a mailing label.