Class AccountInviteMessage
- java.lang.Object
-
- com.broadleafcommerce.customer.domain.AccountInviteMessage
-
public class AccountInviteMessage extends Object
Represents the message sent to the notification service when informing a user they have been invited to an account.
-
-
Constructor Summary
Constructors Constructor Description AccountInviteMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetAccountName()The name of the account the user is invited to.<T> TgetAttribute(String key)Map<String,Object>getAttributes()Any additional attributes to be used in the invite message.StringgetDefaultMessage()The default message if no message is available from the message key.StringgetEmail()The e-mail address to send the account message.StringgetMessageKey()The message key.StringgetPhone()The phone number to send the invite to.inthashCode()voidsetAccountName(String accountName)The name of the account the user is invited to.voidsetAttributes(Map<String,Object> attributes)Any additional attributes to be used in the invite message.voidsetDefaultMessage(String defaultMessage)The default message if no message is available from the message key.voidsetEmail(String email)The e-mail address to send the account message.voidsetMessageKey(String messageKey)The message key.voidsetPhone(String phone)The phone number to send the invite to.StringtoString()
-
-
-
Method Detail
-
getAttribute
public <T> T getAttribute(String key)
-
getEmail
public String getEmail()
The e-mail address to send the account message.
-
getPhone
public String getPhone()
The phone number to send the invite to. Not used OOB.
-
getAccountName
public String getAccountName()
The name of the account the user is invited to.
-
getMessageKey
public String getMessageKey()
The message key.
-
getDefaultMessage
public String getDefaultMessage()
The default message if no message is available from the message key.
-
getAttributes
public Map<String,Object> getAttributes()
Any additional attributes to be used in the invite message.
-
setEmail
public void setEmail(String email)
The e-mail address to send the account message.
-
setPhone
public void setPhone(String phone)
The phone number to send the invite to. Not used OOB.
-
setAccountName
public void setAccountName(String accountName)
The name of the account the user is invited to.
-
setMessageKey
public void setMessageKey(String messageKey)
The message key.
-
setDefaultMessage
public void setDefaultMessage(String defaultMessage)
The default message if no message is available from the message key.
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Any additional attributes to be used in the invite message.
-
canEqual
protected boolean canEqual(Object other)
-
-