Package com.docusign.esign.model
Class AddressInformation
- java.lang.Object
-
- com.docusign.esign.model.AddressInformation
-
public class AddressInformation extends Object
Contains address information..
-
-
Constructor Summary
Constructors Constructor Description AddressInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressInformationcity(String city)city.AddressInformationcountry(String country)country.booleanequals(Object o)Compares objects.AddressInformationfax(String fax)fax.StringgetCity()The city associated with the address..StringgetCountry()Specifies the country associated with the address..StringgetFax()A Fax number associated with the address if one is available..StringgetPhone()A phone number associated with the address..StringgetState()The state or province associated with the address..StringgetStreet1()The first line of the address..StringgetStreet2()The second line of the address (optional)..StringgetZip()The zip or postal code associated with the address..StringgetZipPlus4().inthashCode()Returns the HashCode.AddressInformationphone(String phone)phone.voidsetCity(String city)setCity.voidsetCountry(String country)setCountry.voidsetFax(String fax)setFax.voidsetPhone(String phone)setPhone.voidsetState(String state)setState.voidsetStreet1(String street1)setStreet1.voidsetStreet2(String street2)setStreet2.voidsetZip(String zip)setZip.voidsetZipPlus4(String zipPlus4)setZipPlus4.AddressInformationstate(String state)state.AddressInformationstreet1(String street1)street1.AddressInformationstreet2(String street2)street2.StringtoString()Converts the given object to string.AddressInformationzip(String zip)zip.AddressInformationzipPlus4(String zipPlus4)zipPlus4.
-
-
-
Method Detail
-
city
public AddressInformation city(String city)
city.- Returns:
- AddressInformation
-
getCity
public String getCity()
The city associated with the address..- Returns:
- city
-
setCity
public void setCity(String city)
setCity.
-
country
public AddressInformation country(String country)
country.- Returns:
- AddressInformation
-
getCountry
public String getCountry()
Specifies the country associated with the address..- Returns:
- country
-
setCountry
public void setCountry(String country)
setCountry.
-
fax
public AddressInformation fax(String fax)
fax.- Returns:
- AddressInformation
-
getFax
public String getFax()
A Fax number associated with the address if one is available..- Returns:
- fax
-
setFax
public void setFax(String fax)
setFax.
-
phone
public AddressInformation phone(String phone)
phone.- Returns:
- AddressInformation
-
getPhone
public String getPhone()
A phone number associated with the address..- Returns:
- phone
-
setPhone
public void setPhone(String phone)
setPhone.
-
state
public AddressInformation state(String state)
state.- Returns:
- AddressInformation
-
getState
public String getState()
The state or province associated with the address..- Returns:
- state
-
setState
public void setState(String state)
setState.
-
street1
public AddressInformation street1(String street1)
street1.- Returns:
- AddressInformation
-
getStreet1
public String getStreet1()
The first line of the address..- Returns:
- street1
-
setStreet1
public void setStreet1(String street1)
setStreet1.
-
street2
public AddressInformation street2(String street2)
street2.- Returns:
- AddressInformation
-
getStreet2
public String getStreet2()
The second line of the address (optional)..- Returns:
- street2
-
setStreet2
public void setStreet2(String street2)
setStreet2.
-
zip
public AddressInformation zip(String zip)
zip.- Returns:
- AddressInformation
-
getZip
public String getZip()
The zip or postal code associated with the address..- Returns:
- zip
-
setZip
public void setZip(String zip)
setZip.
-
zipPlus4
public AddressInformation zipPlus4(String zipPlus4)
zipPlus4.- Returns:
- AddressInformation
-
getZipPlus4
public String getZipPlus4()
.- Returns:
- zipPlus4
-
setZipPlus4
public void setZipPlus4(String zipPlus4)
setZipPlus4.
-
equals
public boolean equals(Object o)
Compares objects.
-
-