Interface Address
- All Superinterfaces:
MultiTenantCloneable<Address>,Serializable
- All Known Implementing Classes:
AddressImpl
-
Method Summary
Modifier and TypeMethodDescriptiongetCity()Deprecated.getFax()Deprecated.Should usegetPhoneFax()insteadgetId()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()insteadgetState()Deprecated.Should usegetIsoCountrySubdivision()orgetStateProvinceRegion()instead The Broadleaf Country and State domains will no longer be used for addresses to better support i18n.booleanisActive()booleanbooleanbooleanbooleanisStreet()voidsetActive(boolean isActive) voidsetAddressLine1(String addressLine1) voidsetAddressLine2(String addressLine2) voidsetAddressLine3(String addressLine3) voidsetBusiness(boolean isBusiness) voidvoidsetCompanyName(String companyName) voidsetCountry(Country country) Deprecated.Should usesetIsoCountryAlpha2(ISOCountry)instead The Broadleaf Country and State domains will no longer be used for addresses to better support i18n.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) voidDeprecated.Should use#setIsoCountrySubdivision()or#setStateProvinceRegion()instead The Broadleaf Country and State domains will no longer be used for addresses to better support i18n.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
-
setId
-
getId
Long getId() -
setAddressLine1
-
getAddressLine1
String getAddressLine1() -
setAddressLine2
-
getAddressLine2
String getAddressLine2() -
setAddressLine3
-
getAddressLine3
String getAddressLine3() -
setCity
-
getCity
String getCity() -
setState
Deprecated.Should use#setIsoCountrySubdivision()or#setStateProvinceRegion()instead The Broadleaf Country and State domains will no longer be used for addresses to better support i18n. BLC_STATE and BLC_COUNTRY should primarily be used for look-ups or filtering to those country/states you wish to ship. -
getState
Deprecated.Should usegetIsoCountrySubdivision()orgetStateProvinceRegion()instead The Broadleaf Country and State domains will no longer be used for addresses to better support i18n. BLC_STATE and BLC_COUNTRY should primarily be used for look-ups or filtering to those country/states you wish to ship. -
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
-
setPostalCode
-
getPostalCode
String getPostalCode() -
getCounty
String getCounty() -
setCounty
-
getZipFour
String getZipFour() -
setZipFour
-
setCountry
Deprecated.Should usesetIsoCountryAlpha2(ISOCountry)instead The Broadleaf Country and State domains will no longer be used for addresses to better support i18n. BLC_STATE and BLC_COUNTRY should primarily be used for look-ups or filtering to those country/states you wish to ship. -
getCountry
Deprecated.Should usegetIsoCountryAlpha2()instead The Broadleaf Country and State domains will no longer be used for addresses to better support i18n. BLC_STATE and BLC_COUNTRY should primarily be used for look-ups or filtering to those country/states you wish to ship. -
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)
-
getIsoCountryAlpha2()instead The Broadleaf Country and State domains will no longer be used for addresses to better support i18n.