public class AddressInformation extends Object
Constructor and Description |
---|
AddressInformation() |
Modifier and Type | Method and Description |
---|---|
AddressInformation |
city(String city) |
AddressInformation |
country(String country) |
boolean |
equals(Object o) |
AddressInformation |
fax(String fax) |
String |
getCity()
The city associated with the address.
|
String |
getCountry()
Specifies the country associated with the address.
|
String |
getFax()
A Fax number associated with the address if one is available.
|
String |
getPhone()
A phone number associated with the address.
|
String |
getState()
The state or province associated with the address.
|
String |
getStreet1()
The first line of the address.
|
String |
getStreet2()
The second line of the address (optional).
|
String |
getZip()
The zip or postal code associated with the address.
|
int |
hashCode() |
AddressInformation |
phone(String phone) |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setFax(String fax) |
void |
setPhone(String phone) |
void |
setState(String state) |
void |
setStreet1(String street1) |
void |
setStreet2(String street2) |
void |
setZip(String zip) |
AddressInformation |
state(String state) |
AddressInformation |
street1(String street1) |
AddressInformation |
street2(String street2) |
String |
toString() |
AddressInformation |
zip(String zip) |
public AddressInformation city(String city)
public String getCity()
public void setCity(String city)
public AddressInformation country(String country)
public String getCountry()
public void setCountry(String country)
public AddressInformation fax(String fax)
public String getFax()
public void setFax(String fax)
public AddressInformation phone(String phone)
public String getPhone()
public void setPhone(String phone)
public AddressInformation state(String state)
public String getState()
public void setState(String state)
public AddressInformation street1(String street1)
public String getStreet1()
public void setStreet1(String street1)
public AddressInformation street2(String street2)
public String getStreet2()
public void setStreet2(String street2)
public AddressInformation zip(String zip)
public String getZip()
public void setZip(String zip)
Copyright © 2018. All rights reserved.