Class AccountInvite


  • public class AccountInvite
    extends Object
    • Constructor Detail

      • AccountInvite

        public AccountInvite()
    • Method Detail

      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object