Package software.xdev.brevo.model
Class SendWhatsappMessageTemplate
java.lang.Object
software.xdev.brevo.model.SendWhatsappMessageTemplate
SendWhatsappMessageTemplate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContactNumbersItem(String contactNumbersItem) contactNumbers(List<String> contactNumbers) booleanList of phone numbers of the contactsPass the set of attributes to customize the template.WhatsApp Number with country code.ID of the template to sendinthashCode()senderNumber(String senderNumber) voidsetContactNumbers(List<String> contactNumbers) voidvoidsetSenderNumber(String senderNumber) voidsetTemplateId(Integer templateId) templateId(Integer templateId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TEMPLATE_ID
- See Also:
-
JSON_PROPERTY_SENDER_NUMBER
- See Also:
-
JSON_PROPERTY_PARAMS
- See Also:
-
JSON_PROPERTY_CONTACT_NUMBERS
- See Also:
-
-
Constructor Details
-
SendWhatsappMessageTemplate
public SendWhatsappMessageTemplate()
-
-
Method Details
-
templateId
-
getTemplateId
ID of the template to send- Returns:
- templateId
-
setTemplateId
-
senderNumber
-
getSenderNumber
WhatsApp Number with country code. Example, 85264318721- Returns:
- senderNumber
-
setSenderNumber
-
params
-
getParams
Pass the set of attributes to customize the template. For example, {\"FNAME\":\"Joe\", \"LNAME\":\"Doe\"}.- Returns:
- params
-
setParams
-
contactNumbers
-
addContactNumbersItem
-
getContactNumbers
List of phone numbers of the contacts- Returns:
- contactNumbers
-
setContactNumbers
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-