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 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

      public void setAddressId(String addressId)
    • setId

      public void setId(String id)
    • getAddressId

      @Deprecated public String getAddressId()
      Deprecated.
      Use getId() field instead
    • getId

      public String getId()
    • getBillFirstName

      public String getBillFirstName()
      The first name of the individual at this address.
    • getBillLastName

      public String getBillLastName()
      The last name of the individual at this address.
    • getBillAddress1

      public String getBillAddress1()
      Primary address information, typically street name and building number.
    • getBillAddress2

      public String getBillAddress2()
      Secondary address information, like apartment, suite, or unit number.
    • getBillAddress3

      public String getBillAddress3()
      Tertiary address information, typically for international addresses.
    • getBillCity

      public String getBillCity()
      The city, town or village of this address.
    • getBillCounty

      public String getBillCounty()
      The county of this address.
    • getBillStateProvReg

      public String getBillStateProvReg()
      The state, province or region of this address.
    • getBillCountry

      public String getBillCountry()
      The country for this address.
    • getBillPostalCode

      public String getBillPostalCode()
      Postal code or ZIP code for this address.
    • getBillPhone

      public String getBillPhone()
      The primary phone number for this address.
    • getBillEmail

      public String 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 of Tracking information to expose the context state for this object.
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
    • setBillFirstName

      public void setBillFirstName(String billFirstName)
      The first name of the individual at this address.
    • setBillLastName

      public void setBillLastName(String billLastName)
      The last name of the individual at this address.
    • setBillAddress1

      public void setBillAddress1(String billAddress1)
      Primary address information, typically street name and building number.
    • setBillAddress2

      public void setBillAddress2(String billAddress2)
      Secondary address information, like apartment, suite, or unit number.
    • setBillAddress3

      public void setBillAddress3(String billAddress3)
      Tertiary address information, typically for international addresses.
    • setBillCity

      public void setBillCity(String billCity)
      The city, town or village of this address.
    • setBillCounty

      public void setBillCounty(String billCounty)
      The county of this address.
    • setBillStateProvReg

      public void setBillStateProvReg(String billStateProvReg)
      The state, province or region of this address.
    • setBillCountry

      public void setBillCountry(String billCountry)
      The country for this address.
    • setBillPostalCode

      public void setBillPostalCode(String billPostalCode)
      Postal code or ZIP code for this address.
    • setBillPhone

      public void setBillPhone(String billPhone)
      The primary phone number for this address.
    • setBillEmail

      public void setBillEmail(String billEmail)
      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 of Tracking information to expose the context state for this object.
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object