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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAccountName()
The name of the account the user is invited to.<T> T
getAttribute(String key)
Map<String,Object>
getAttributes()
Any additional attributes to be used in the invite message.String
getDefaultMessage()
The default message if no message is available from the message key.String
getEmail()
The e-mail address to send the account message.String
getMessageKey()
The message key.String
getPhone()
The phone number to send the invite to.int
hashCode()
void
setAccountName(String accountName)
The name of the account the user is invited to.void
setAttributes(Map<String,Object> attributes)
Any additional attributes to be used in the invite message.void
setDefaultMessage(String defaultMessage)
The default message if no message is available from the message key.void
setEmail(String email)
The e-mail address to send the account message.void
setMessageKey(String messageKey)
The message key.void
setPhone(String phone)
The phone number to send the invite to.String
toString()
-
-
-
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)
-
-