Class AccountInvite
- java.lang.Object
-
- com.broadleafcommerce.customer.domain.AccountInvite
-
public class AccountInvite extends Object
-
-
Constructor Summary
Constructors Constructor Description AccountInvite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
AccountRef
getAccount()
A minimal representation of an account for this invite.String
getAccountId()
The account ID for the invitation.Set<String>
getAccountRoleIds()
The roles to be assigned to the user upon accepting the invitation.<T> T
getAttribute(String key)
Map<String,Object>
getAttributes()
Any custom attributes to be added to the account invite.String
getEmail()
The e-mail address of the user being invited to the account.String
getId()
The database ID of the account invite.Instant
getInviteExpirationDate()
The date that this invitation expires.String
getInvitingCustomerId()
The ID of customer who performed the invite.Phone
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
setEmail(String email)
The e-mail address of the user being invited to the account.void
setId(String id)
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
setPhone(Phone phone)
The phone number of the user being invited to the account.String
toString()
-
-
-
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 theAccountInviteMessage
.
-
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 theAccountInviteMessage
.
-
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)
-
-