java.lang.Object
com.broadleafcommerce.customer.provider.jpa.domain.JpaAccount
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.policy.Owned, com.broadleafcommerce.data.tracking.core.Trackable, com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, Serializable

@Entity @TrackableExtension({TENANT,CUSTOMER_CONTEXT}) public class JpaAccount extends Object implements com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.policy.Owned
See Also:
  • Field Details

  • Constructor Details

    • JpaAccount

      public JpaAccount()
  • Method Details

    • fromMe

      @NonNull public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      @NonNull public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • getOwnerIdentifier

      public String getOwnerIdentifier()
      Specified by:
      getOwnerIdentifier in interface com.broadleafcommerce.data.tracking.core.policy.Owned
    • getContextId

      public String getContextId()
      Specified by:
      getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • getParentAccountId

      public String getParentAccountId()
    • getStatus

      public String getStatus()
      See Also:
    • getName

      public String getName()
      See Also:
    • getAccountNumber

      public String getAccountNumber()
      See Also:
    • getAccountType

      public String getAccountType()
      See Also:
    • getTaxId

      public String getTaxId()
      See Also:
    • getVatRegistrationId

      public String getVatRegistrationId()
      See Also:
    • getAttributes

      public Map<String,JpaAttribute> getAttributes()
      See Also:
    • getTracking

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setContextId

      public void setContextId(String contextId)
      Specified by:
      setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setParentAccountId

      public void setParentAccountId(String parentAccountId)
    • setStatus

      public void setStatus(String status)
      See Also:
    • setName

      public void setName(String name)
      See Also:
    • setAccountNumber

      public void setAccountNumber(String accountNumber)
      See Also:
    • setAccountType

      public void setAccountType(String accountType)
      See Also:
    • setTaxId

      public void setTaxId(String taxId)
      See Also:
    • setVatRegistrationId

      public void setVatRegistrationId(String vatRegistrationId)
      See Also:
    • setAttributes

      public void setAttributes(Map<String,JpaAttribute> attributes)
      See Also:
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
      Parameters:
      tracking - The tracking information for this account.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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