Interface Address
- All Superinterfaces:
MultiTenantCloneable<Address>,Serializable
- All Known Implementing Classes:
AddressImpl
-
Method Summary
Modifier and TypeMethodDescriptiongetCity()getFax()Deprecated.getId()gets the ISO 3166-1 alpha-2 code for the country where this address residesgets the ISO 3166-2 code for the country subdivision (state/region/province) where this address residesDeprecated.Should usegetPhonePrimary()insteadDeprecated.Should usegetPhoneSecondary()insteadbooleanisActive()booleanbooleanbooleanbooleanisStreet()voidsetActive(boolean isActive) voidsetAddressLine1(String addressLine1) voidsetAddressLine2(String addressLine2) voidsetAddressLine3(String addressLine3) voidsetBusiness(boolean isBusiness) voidvoidsetCompanyName(String companyName) voidvoidsetDefault(boolean isDefault) voidsetEmailAddress(String emailAddress) voidDeprecated.Should usesetPhoneFax(Phone)insteadvoidsetFirstName(String firstName) voidsetFullName(String fullName) voidvoidsetIsoCountryAlpha2(ISOCountry isoCountryAlpha2) sets the ISO 3166-1 alpha-2 code for the country where this address residesvoidsetIsoCountrySubdivision(String isoCountrySubdivision) sets the ISO 3166-2 code for the country subdivision (state/region/province) where this address residesvoidsetLastName(String lastName) voidsetMailing(boolean isMailing) voidsetPhoneFax(Phone phone) voidsetPhonePrimary(Phone phonePrimary) voidsetPhoneSecondary(Phone phoneSecondary) voidsetPostalCode(String postalCode) voidsetPrimaryPhone(String primaryPhone) Deprecated.Should usesetPhonePrimary(Phone)insteadvoidsetSecondaryPhone(String secondaryPhone) Deprecated.Should usesetPhoneSecondary(Phone)insteadvoidsetStandardized(Boolean standardized) voidsetStateProvinceRegion(String stateProvinceRegion) sets the friendly name indicating a countries subdivision, i.e.voidsetStreet(boolean isStreet) voidsetTokenizedAddress(String tAddress) voidsetVerificationLevel(String verificationLevel) voidsetZipFour(String zipFour) Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId() -
setId
-
getAddressLine1
String getAddressLine1() -
setAddressLine1
-
getAddressLine2
String getAddressLine2() -
setAddressLine2
-
getAddressLine3
String getAddressLine3() -
setAddressLine3
-
getCity
String getCity() -
setCity
-
getIsoCountrySubdivision
String getIsoCountrySubdivision()gets the ISO 3166-2 code for the country subdivision (state/region/province) where this address resides- Returns:
- - the code
-
setIsoCountrySubdivision
sets the ISO 3166-2 code for the country subdivision (state/region/province) where this address resides- Parameters:
isoCountrySubdivision- - ISO 3166-2 country subdivision code
-
getStateProvinceRegion
String getStateProvinceRegion()- Returns:
- - a friendly name indicating a countries subdivision, i.e. State, Province, Region etc...
-
setStateProvinceRegion
sets the friendly name indicating a countries subdivision, i.e. State, Province, Region etc...- Parameters:
stateProvinceRegion- - friendly name
-
getPostalCode
String getPostalCode() -
setPostalCode
-
getCounty
String getCounty() -
setCounty
-
getZipFour
String getZipFour() -
setZipFour
-
getIsoCountryAlpha2
ISOCountry getIsoCountryAlpha2()gets the ISO 3166-1 alpha-2 code for the country where this address resides- Returns:
- - the ISOCountry representation of the code
-
setIsoCountryAlpha2
sets the ISO 3166-1 alpha-2 code for the country where this address resides- Parameters:
isoCountryAlpha2- - ISO 3166-1 alpha-2 code
-
getTokenizedAddress
String getTokenizedAddress() -
setTokenizedAddress
-
getStandardized
Boolean getStandardized() -
setStandardized
-
getCompanyName
String getCompanyName() -
setCompanyName
-
isDefault
boolean isDefault() -
setDefault
void setDefault(boolean isDefault) -
getFirstName
String getFirstName() -
setFirstName
-
getLastName
String getLastName() -
setLastName
-
getFullName
String getFullName() -
setFullName
-
getPrimaryPhone
Deprecated.Should usegetPhonePrimary()instead -
setPrimaryPhone
Deprecated.Should usesetPhonePrimary(Phone)instead -
getSecondaryPhone
Deprecated.Should usegetPhoneSecondary()instead -
setSecondaryPhone
Deprecated.Should usesetPhoneSecondary(Phone)instead -
getFax
Deprecated.Should usegetPhoneFax()instead -
setFax
Deprecated.Should usesetPhoneFax(Phone)instead -
getPhonePrimary
Phone getPhonePrimary() -
setPhonePrimary
-
getPhoneSecondary
Phone getPhoneSecondary() -
setPhoneSecondary
-
getPhoneFax
Phone getPhoneFax() -
setPhoneFax
-
getEmailAddress
String getEmailAddress() -
setEmailAddress
-
isBusiness
boolean isBusiness() -
setBusiness
void setBusiness(boolean isBusiness) -
isStreet
boolean isStreet() -
setStreet
void setStreet(boolean isStreet) -
isMailing
boolean isMailing() -
setMailing
void setMailing(boolean isMailing) -
getVerificationLevel
String getVerificationLevel() -
setVerificationLevel
-
isActive
boolean isActive() -
setActive
void setActive(boolean isActive)
-
getPhoneFax()instead