public class WhatsAppOutboundTemplateMessageDto extends OutboundMessageDto
Modifier and Type | Field and Description |
---|---|
protected List<WhatsAppTemplateParameter> |
bodyParameters |
protected List<Button> |
buttons |
protected List<WhatsAppTemplateParameter> |
footerParameters |
protected List<WhatsAppTemplateParameter> |
headerParameters |
protected String |
language |
protected String |
templateId |
protected Duration |
timeToLive |
businessAccountId, content, externalUserId, mediaId, messageId, type
Constructor and Description |
---|
WhatsAppOutboundTemplateMessageDto() |
Modifier and Type | Method and Description |
---|---|
List<WhatsAppTemplateParameter> |
getBodyParameters() |
List<Button> |
getButtons() |
List<WhatsAppTemplateParameter> |
getFooterParameters() |
List<WhatsAppTemplateParameter> |
getHeaderParameters() |
String |
getLanguage() |
String |
getTemplateId() |
Duration |
getTimeToLive() |
String |
getType() |
void |
setBodyParameters(List<WhatsAppTemplateParameter> bodyParameters) |
void |
setButtons(List<Button> buttons) |
void |
setFooterParameters(List<WhatsAppTemplateParameter> footerParameters) |
void |
setHeaderParameters(List<WhatsAppTemplateParameter> headerParameters) |
void |
setLanguage(String language) |
void |
setTemplateId(String templateId) |
void |
setTimeToLive(Duration timeToLive) |
getBusinessAccountId, getContent, getExternalUserId, getMediaId, getMessageId, setBusinessAccountId, setContent, setExternalUserId, setMediaId, setMessageId, setType
protected Duration timeToLive
protected String templateId
protected String language
protected List<WhatsAppTemplateParameter> headerParameters
protected List<WhatsAppTemplateParameter> bodyParameters
protected List<WhatsAppTemplateParameter> footerParameters
public String getType()
getType
in class OutboundMessageDto
public String getTemplateId()
public void setTemplateId(String templateId)
public String getLanguage()
public void setLanguage(String language)
public List<WhatsAppTemplateParameter> getBodyParameters()
public void setBodyParameters(List<WhatsAppTemplateParameter> bodyParameters)
public List<WhatsAppTemplateParameter> getHeaderParameters()
public void setHeaderParameters(List<WhatsAppTemplateParameter> headerParameters)
public List<WhatsAppTemplateParameter> getFooterParameters()
public void setFooterParameters(List<WhatsAppTemplateParameter> footerParameters)
public Duration getTimeToLive()
public void setTimeToLive(Duration timeToLive)