Class AccountInvite

java.lang.Object
com.broadleafcommerce.customer.domain.AccountInvite

public class AccountInvite extends Object
  • Constructor Details

    • AccountInvite

      public AccountInvite()
  • Method Details

    • getAttribute

      public <T> T getAttribute(String key)
    • getId

      public String getId()
      The database ID of the account invite.
    • getEmail

      public String getEmail()
      The e-mail address of the user being invited to the account.
    • getPhone

      public Phone getPhone()
      The phone number of the user being invited to the account.
    • getAccountId

      public String getAccountId()
      The account ID for the invitation.
    • getInvitingCustomerId

      public String getInvitingCustomerId()
      The ID of customer who performed the invite.
    • getInviteExpirationDate

      public Instant getInviteExpirationDate()
      The date that this invitation expires.
    • getAccountRoleIds

      public Set<String> getAccountRoleIds()
      The roles to be assigned to the user upon accepting the invitation.
    • getAttributes

      public Map<String,Object> getAttributes()
      Any custom attributes to be added to the account invite. These is generally useful for any custom messaging that is to be attached to the AccountInviteMessage.
    • getAccount

      public AccountRef getAccount()
      A minimal representation of an account for this invite. Must be hydrated. Intended for informational purposes when a user reads their pending account invitations.
    • setId

      public void setId(String id)
      The database ID of the account invite.
    • setEmail

      public void setEmail(String email)
      The e-mail address of the user being invited to the account.
    • setPhone

      public void setPhone(Phone phone)
      The phone number of the user being invited to the account.
    • setAccountId

      public void setAccountId(String accountId)
      The account ID for the invitation.
    • setInvitingCustomerId

      public void setInvitingCustomerId(String invitingCustomerId)
      The ID of customer who performed the invite.
    • setInviteExpirationDate

      public void setInviteExpirationDate(Instant inviteExpirationDate)
      The date that this invitation expires.
    • setAccountRoleIds

      public void setAccountRoleIds(Set<String> accountRoleIds)
      The roles to be assigned to the user upon accepting the invitation.
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Any custom attributes to be added to the account invite. These is generally useful for any custom messaging that is to be attached to the AccountInviteMessage.
    • setAccount

      public void setAccount(AccountRef account)
      A minimal representation of an account for this invite. Must be hydrated. Intended for informational purposes when a user reads their pending account invitations.
    • 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