public class MessageDetails
Represents the settings of a message to send to the user, needed by the
Webcom.sendOtp
method.
Webcom.sendOtp
Constructor and Description |
---|
MessageDetails(java.lang.String template,
java.lang.String sender,
java.util.Locale locale)
Represents the settings of a message to send to the user, needed by the
Webcom.sendOtp method. |
MessageDetails()
Represents the settings of a message to send to the user, needed by the
Webcom.sendOtp method. |
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getLocale() |
java.lang.String |
getSender() |
java.lang.String |
getTemplate() |
java.lang.String |
returnLocaleAsString() |
void |
setLocale(java.util.Locale p) |
void |
setSender(java.lang.String p) |
void |
setTemplate(java.lang.String p) |
public MessageDetails(@Nullable java.lang.String template, @Nullable java.lang.String sender, @Nullable java.util.Locale locale)
Represents the settings of a message to send to the user, needed by the
Webcom.sendOtp
method.
Webcom.sendOtp
public MessageDetails()
Represents the settings of a message to send to the user, needed by the
Webcom.sendOtp
method.
Webcom.sendOtp
@Nullable public java.lang.String returnLocaleAsString()
@Nullable public java.lang.String getTemplate()
public void setTemplate(@Nullable java.lang.String p)
@Nullable public java.lang.String getSender()
public void setSender(@Nullable java.lang.String p)
@Nullable public java.util.Locale getLocale()
public void setLocale(@Nullable java.util.Locale p)