Class JpaAccountInvite

  • 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 JpaAccountInvite
    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:
    Serialized Form
    • Constructor Detail

      • JpaAccountInvite

        public JpaAccountInvite()
    • Method Detail

      • getBusinessDomainType

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

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

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

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

        public String getEmail()
      • getPhone

        public Phone getPhone()
      • getAccountId

        public String getAccountId()
      • getInvitingCustomerId

        public String getInvitingCustomerId()
      • getInviteExpirationDate

        public Instant getInviteExpirationDate()
      • getRoleIds

        public Set<String> getRoleIds()
      • 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
      • setEmail

        public void setEmail​(String email)
      • setPhone

        public void setPhone​(Phone phone)
      • setAccountId

        public void setAccountId​(String accountId)
      • setInvitingCustomerId

        public void setInvitingCustomerId​(String invitingCustomerId)
      • setInviteExpirationDate

        public void setInviteExpirationDate​(Instant inviteExpirationDate)
      • setRoleIds

        public void setRoleIds​(Set<String> roleIds)
      • setAttributes

        public void setAttributes​(Map<String,​Object> attributes)
      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object