Class JpaAccountMember

java.lang.Object
com.broadleafcommerce.customer.provider.jpa.domain.JpaAccountMember
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.Trackable, com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, Serializable

@Entity @TrackableExtension({TENANT,CUSTOMER_CONTEXT}) public class JpaAccountMember 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
See Also:
  • Constructor Details

    • JpaAccountMember

      public JpaAccountMember()
  • 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
    • setPhoneAsString

      public void setPhoneAsString(String phone)
    • getPhoneAsString

      public String getPhoneAsString()
    • setPhone

      public void setPhone(Phone phone)
    • getPhone

      public Phone getPhone()
    • getContextId

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

      public String getAccountContextId()
      See Also:
    • getCustomerContextId

      public String getCustomerContextId()
      See Also:
    • getCustomerFullName

      public String getCustomerFullName()
      See Also:
    • getAccountRoleIds

      public Set<String> getAccountRoleIds()
      See Also:
    • getEmail

      public String getEmail()
      See Also:
    • getDefaultCommunicationPreference

      public String getDefaultCommunicationPreference()
    • getAdditionalPhones

      public List<AdditionalPhone> getAdditionalPhones()
      See Also:
    • getAttributes

      public Map<String,Object> 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
    • isActive

      public boolean isActive()
      See Also:
    • setContextId

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

      public void setAccountContextId(String accountContextId)
      See Also:
    • setCustomerContextId

      public void setCustomerContextId(String customerContextId)
      See Also:
    • setCustomerFullName

      public void setCustomerFullName(String customerFullName)
      See Also:
    • setAccountRoleIds

      public void setAccountRoleIds(Set<String> accountRoleIds)
      See Also:
    • setEmail

      public void setEmail(String email)
      See Also:
    • setDefaultCommunicationPreference

      public void setDefaultCommunicationPreference(String defaultCommunicationPreference)
    • setAdditionalPhones

      public void setAdditionalPhones(List<AdditionalPhone> additionalPhones)
      See Also:
    • setAttributes

      public void setAttributes(Map<String,Object> 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>
    • setActive

      public void setActive(boolean active)
      See Also:
    • 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