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 booleancanEqual(Object other)booleanequals(Object o)AccountRefgetAccount()A minimal representation of an account for this invite.StringgetAccountId()The account ID for the invitation.Set<String>getAccountRoleIds()The roles to be assigned to the user upon accepting the invitation.<T> TgetAttribute(String key)Map<String,Object>getAttributes()Any custom attributes to be added to the account invite.StringgetEmail()The e-mail address of the user being invited to the account.StringgetId()The database ID of the account invite.InstantgetInviteExpirationDate()The date that this invitation expires.StringgetInvitingCustomerId()The ID of customer who performed the invite.PhonegetPhone()The phone number of the user being invited to the account.inthashCode()voidsetAccount(AccountRef account)A minimal representation of an account for this invite.voidsetAccountId(String accountId)The account ID for the invitation.voidsetAccountRoleIds(Set<String> accountRoleIds)The roles to be assigned to the user upon accepting the invitation.voidsetAttributes(Map<String,Object> attributes)Any custom attributes to be added to the account invite.voidsetEmail(String email)The e-mail address of the user being invited to the account.voidsetId(String id)The database ID of the account invite.voidsetInviteExpirationDate(Instant inviteExpirationDate)The date that this invitation expires.voidsetInvitingCustomerId(String invitingCustomerId)The ID of customer who performed the invite.voidsetPhone(Phone phone)The phone number of the user being invited to the account.StringtoString()
-
-
-
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)
-
-