public class Address extends Object implements Serializable
| Constructor and Description |
|---|
Address() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountry()
Get the country name component.
|
String |
getFormatted()
Get the full mailing address, formatted for display or use on a mailing label.
|
String |
getLocality()
Get the city or locality component.
|
String |
getPostalCode()
Get the zip code or postal code component.
|
String |
getRegion()
Get the state, province, prefecture, or region component.
|
String |
getStreetAddress()
Get the full street address component, which MAY include house number,
street name, Post Office Box, and multi-line extended street address
information.
|
Address |
setCountry(String country)
Set the country name component.
|
Address |
setFormatted(String formatted)
Set the full mailing address, formatted for display or use on a mailing label.
|
Address |
setLocality(String locality)
Set the city or locality component.
|
Address |
setPostaCode(String postalCode)
Set the zip code or postal code component.
|
Address |
setRegion(String region)
Set the state, province, prefecture, or region component.
|
Address |
setStreetAddress(String streetAddress)
Set the full street address component, which MAY include house number,
street name, Post Office Box, and multi-line extended street address
information.
|
public String getFormatted()
public Address setFormatted(String formatted)
formatted - The full mailing address.this object.public String getStreetAddress()
public Address setStreetAddress(String streetAddress)
streetAddress - The full street address.this object.public String getLocality()
public Address setLocality(String locality)
locality - The city or locality.this object.public String getRegion()
public Address setRegion(String region)
region - The state, province, prefecture, or region.this object.public String getPostalCode()
public Address setPostaCode(String postalCode)
postalCode - The zip code or postal code.this object.public String getCountry()
Copyright © 2019. All rights reserved.