Class AccountInvite
java.lang.Object
com.broadleafcommerce.customer.domain.AccountInvite
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A minimal representation of an account for this invite.The account ID for the invitation.The roles to be assigned to the user upon accepting the invitation.<T> T
getAttribute
(String key) Any custom attributes to be added to the account invite.getEmail()
The e-mail address of the user being invited to the account.getId()
The database ID of the account invite.The date that this invitation expires.The ID of customer who performed the invite.getPhone()
The phone number of the user being invited to the account.int
hashCode()
void
setAccount
(AccountRef account) A minimal representation of an account for this invite.void
setAccountId
(String accountId) The account ID for the invitation.void
setAccountRoleIds
(Set<String> accountRoleIds) The roles to be assigned to the user upon accepting the invitation.void
setAttributes
(Map<String, Object> attributes) Any custom attributes to be added to the account invite.void
The e-mail address of the user being invited to the account.void
The database ID of the account invite.void
setInviteExpirationDate
(Instant inviteExpirationDate) The date that this invitation expires.void
setInvitingCustomerId
(String invitingCustomerId) The ID of customer who performed the invite.void
The phone number of the user being invited to the account.toString()
-
Constructor Details
-
AccountInvite
public AccountInvite()
-
-
Method Details
-
getAttribute
-
getId
The database ID of the account invite. -
getEmail
The e-mail address of the user being invited to the account. -
getPhone
The phone number of the user being invited to the account. -
getAccountId
The account ID for the invitation. -
getInvitingCustomerId
The ID of customer who performed the invite. -
getInviteExpirationDate
The date that this invitation expires. -
getAccountRoleIds
The roles to be assigned to the user upon accepting the invitation. -
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 theAccountInviteMessage
. -
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
The database ID of the account invite. -
setEmail
The e-mail address of the user being invited to the account. -
setPhone
The phone number of the user being invited to the account. -
setAccountId
The account ID for the invitation. -
setInvitingCustomerId
The ID of customer who performed the invite. -
setInviteExpirationDate
The date that this invitation expires. -
setAccountRoleIds
The roles to be assigned to the user upon accepting the invitation. -
setAttributes
Any custom attributes to be added to the account invite. These is generally useful for any custom messaging that is to be attached to theAccountInviteMessage
. -
setAccount
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-