public class Address extends Object implements Serializable
Constructor and Description |
---|
Address() |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalAttribute(String name,
Object value)
Takes in any additional attributes passed in the request not matching any defined properties.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Map<String,Object> |
getAdditionalAttributes()
Return any additional attributes passed in the request not matching any defined properties.
|
String |
getAddressLine1()
Primary address information, typically street name and building number.
|
String |
getAddressLine2()
Secondary address information, like apartment, suite, or unit number.
|
String |
getAddressLine3()
Tertiary address information, typically for international addresses.
|
String |
getCity()
The city, town or village of this address.
|
String |
getCompanyName()
The name of the company at this address.
|
String |
getCompletedName()
|
String |
getCountry()
The country for this address.
|
String |
getCounty()
The county of this address.
|
String |
getEmailAddress()
The email address of the individual at this physical address.
|
String |
getFirstName()
The first name of the individual at this address.
|
String |
getFullName()
The combined names of the individual at this address.
|
String |
getLastName()
The last name of the individual at this address.
|
Phone |
getPhoneFax()
The
fax number for this address. |
Phone |
getPhonePrimary()
The primary
phone number for this address. |
Phone |
getPhoneSecondary()
The secondary
phone number for this address. |
String |
getPostalCode()
Postal code or ZIP code for this address.
|
String |
getStateProvinceRegion()
The state, province or region of this address.
|
int |
hashCode() |
boolean |
isActive()
Whether this address is an active address of the owner.
|
boolean |
isDefault()
Whether this address is the default address of the owner.
|
void |
setActive(boolean isActive)
Whether this address is an active address of the owner.
|
void |
setAdditionalAttributes(Map<String,Object> additionalAttributes)
Map holding any additional attributes passed in the request not matching any defined
properties.
|
void |
setAddressLine1(String addressLine1)
Primary address information, typically street name and building number.
|
void |
setAddressLine2(String addressLine2)
Secondary address information, like apartment, suite, or unit number.
|
void |
setAddressLine3(String addressLine3)
Tertiary address information, typically for international addresses.
|
void |
setCity(String city)
The city, town or village of this address.
|
void |
setCompanyName(String companyName)
The name of the company at this address.
|
void |
setCountry(String country)
The country for this address.
|
void |
setCounty(String county)
The county of this address.
|
void |
setDefault(boolean isDefault)
Whether this address is the default address of the owner.
|
void |
setEmailAddress(String emailAddress)
The email address of the individual at this physical address.
|
void |
setFirstName(String firstName)
The first name of the individual at this address.
|
void |
setFullName(String fullName)
The combined names of the individual at this address.
|
void |
setLastName(String lastName)
The last name of the individual at this address.
|
void |
setPhoneFax(Phone phoneFax)
The
fax number for this address. |
void |
setPhonePrimary(Phone phonePrimary)
The primary
phone number for this address. |
void |
setPhoneSecondary(Phone phoneSecondary)
The secondary
phone number for this address. |
void |
setPostalCode(String postalCode)
Postal code or ZIP code for this address.
|
void |
setStateProvinceRegion(String stateProvinceRegion)
The state, province or region of this address.
|
String |
toString() |
public void addAdditionalAttribute(String name, Object value)
name
- Name of the additional attributevalue
- Value of the additional attributepublic Map<String,Object> getAdditionalAttributes()
public String getCompletedName()
public String getFirstName()
public String getLastName()
public String getFullName()
public String getEmailAddress()
public String getCompanyName()
public String getAddressLine1()
public String getAddressLine2()
public String getAddressLine3()
public String getCity()
public String getStateProvinceRegion()
public String getCounty()
public String getCountry()
public String getPostalCode()
public Phone getPhonePrimary()
phone number
for this address.phone number
for this address.public Phone getPhoneSecondary()
phone number
for this address.phone number
for this address.public Phone getPhoneFax()
fax number
for this address.fax number
for this address.public boolean isDefault()
public boolean isActive()
public void setFirstName(String firstName)
firstName
- The first name of the individual at this address.public void setLastName(String lastName)
lastName
- The last name of the individual at this address.public void setFullName(String fullName)
fullName
- The combined names of the individual at this addresspublic void setEmailAddress(String emailAddress)
emailAddress
- The email address of the individual at this physical address.public void setCompanyName(String companyName)
companyName
- The name of the company at this address.public void setAddressLine1(String addressLine1)
addressLine1
- Primary address information, typically street name and building number.public void setAddressLine2(String addressLine2)
addressLine2
- Secondary address information, like apartment number or suite number.public void setAddressLine3(String addressLine3)
addressLine3
- Tertiary address information, typically for international addresses.public void setCity(String city)
city
- The city, town or village of this address.public void setStateProvinceRegion(String stateProvinceRegion)
stateProvinceRegion
- The state, province or region of this address.public void setCounty(String county)
county
- The county of this address.public void setCountry(String country)
country
- The country for this address.public void setPostalCode(String postalCode)
postalCode
- Postal code or ZIP code for this address.public void setPhonePrimary(Phone phonePrimary)
phone number
for this address.phonePrimary
- The primary phone number
for this address.public void setPhoneSecondary(Phone phoneSecondary)
phone number
for this address.phoneSecondary
- The secondary phone number
for this address.public void setPhoneFax(Phone phoneFax)
fax number
for this address.phoneFax
- The fax number
for this address.public void setDefault(boolean isDefault)
isDefault
- Whether this address is the default address of the owner.public void setActive(boolean isActive)
isActive
- Whether this address is an active address of the owner.public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.