Class BillingEventAddress
java.lang.Object
com.broadleafcommerce.billing.domain.BillingEventAddress
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
public class BillingEventAddress
extends Object
implements com.broadleafcommerce.data.tracking.core.ContextStateAware
Contains street address fields for a
BillingEvent.
This class contains PII (Personally Identifiable Information) fields that are used to identify
the individual at this address. It is recommended to use the Views.Logging view when
serializing this object to ensure that sensitive information is not exposed in public APIs.
-
Constructor Summary
ConstructorsConstructorDescriptionBillingEventAddress(String addressId, String id, String billFirstName, String billLastName, String billAddress1, String billAddress2, String billAddress3, String billCity, String billCounty, String billStateProvReg, String billCountry, String billPostalCode, String billPhone, String billEmail, com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDeprecated.Primary address information, typically street name and building number.Secondary address information, like apartment, suite, or unit number.Tertiary address information, typically for international addresses.The city, town or village of this address.The country for this address.The county of this address.The email address of the individual at this billing address.The first name of the individual at this address.The last name of the individual at this address.The primary phone number for this address.Postal code or ZIP code for this address.The state, province or region of this address.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.getId()inthashCode()voidsetAddressId(String addressId) voidsetBillAddress1(String billAddress1) Primary address information, typically street name and building number.voidsetBillAddress2(String billAddress2) Secondary address information, like apartment, suite, or unit number.voidsetBillAddress3(String billAddress3) Tertiary address information, typically for international addresses.voidsetBillCity(String billCity) The city, town or village of this address.voidsetBillCountry(String billCountry) The country for this address.voidsetBillCounty(String billCounty) The county of this address.voidsetBillEmail(String billEmail) The email address of the individual at this billing address.voidsetBillFirstName(String billFirstName) The first name of the individual at this address.voidsetBillLastName(String billLastName) The last name of the individual at this address.voidsetBillPhone(String billPhone) The primary phone number for this address.voidsetBillPostalCode(String billPostalCode) Postal code or ZIP code for this address.voidsetBillStateProvReg(String billStateProvReg) The state, province or region of this address.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidtoString()
-
Constructor Details
-
BillingEventAddress
public BillingEventAddress() -
BillingEventAddress
public BillingEventAddress(String addressId, String id, String billFirstName, String billLastName, String billAddress1, String billAddress2, String billAddress3, String billCity, String billCounty, String billStateProvReg, String billCountry, String billPostalCode, String billPhone, String billEmail, com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
-
-
Method Details
-
setAddressId
-
setId
-
getAddressId
Deprecated.UsegetId()field instead -
getId
-
getBillFirstName
The first name of the individual at this address. -
getBillLastName
The last name of the individual at this address. -
getBillAddress1
Primary address information, typically street name and building number. -
getBillAddress2
Secondary address information, like apartment, suite, or unit number. -
getBillAddress3
Tertiary address information, typically for international addresses. -
getBillCity
The city, town or village of this address. -
getBillCounty
The county of this address. -
getBillStateProvReg
The state, province or region of this address. -
getBillCountry
The country for this address. -
getBillPostalCode
Postal code or ZIP code for this address. -
getBillPhone
The primary phone number for this address. -
getBillEmail
The email address of the individual at this billing address. -
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTrackinginformation to expose the context state for this object.- Specified by:
getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
setBillFirstName
The first name of the individual at this address. -
setBillLastName
The last name of the individual at this address. -
setBillAddress1
Primary address information, typically street name and building number. -
setBillAddress2
Secondary address information, like apartment, suite, or unit number. -
setBillAddress3
Tertiary address information, typically for international addresses. -
setBillCity
The city, town or village of this address. -
setBillCounty
The county of this address. -
setBillStateProvReg
The state, province or region of this address. -
setBillCountry
The country for this address. -
setBillPostalCode
Postal code or ZIP code for this address. -
setBillPhone
The primary phone number for this address. -
setBillEmail
The email address of the individual at this billing address. -
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.- Specified by:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getId()field instead