Package com.mypurecloud.sdk.v2.model
Class WhatsAppDefinition
java.lang.Object
com.mypurecloud.sdk.v2.model.WhatsAppDefinition
- All Implemented Interfaces:
Serializable
A WhatsApp messaging template definition as defined in the WhatsApp Business Manager
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCategory of whatsApp carousels template. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of buttons to be included in the standard WhatsApp messages channelDefinition for whatsApp carousels template.category(WhatsAppDefinition.CategoryEnum category) Category of whatsApp carousels template.booleangetName()inthashCode()header(MessageHeader header) Header for the message in the standard WhatsApp messages channelintegrationId(String integrationId) WhatsApp integration ID for whatsApp carouselsThe messaging template language configured for this template.messageFooter(MessageFooter messageFooter) Footer for the message in the standard WhatsApp messages channelThe messaging template name.The messaging template namespace.voidsetButtons(List<Button> buttons) voidsetCarousel(Carousel carousel) voidsetCategory(WhatsAppDefinition.CategoryEnum category) voidsetHeader(MessageHeader header) voidsetIntegrationId(String integrationId) voidsetLanguage(String language) voidsetMessageFooter(MessageFooter messageFooter) voidvoidsetNamespace(String namespace) toString()
-
Constructor Details
-
WhatsAppDefinition
public WhatsAppDefinition() -
WhatsAppDefinition
-
-
Method Details
-
name
The messaging template name. -
getName
-
setName
-
namespace
The messaging template namespace. -
getNamespace
-
setNamespace
-
language
The messaging template language configured for this template. This is a WhatsApp specific value. For example, 'en_US' -
getLanguage
-
setLanguage
-
buttons
List of buttons to be included in the standard WhatsApp messages channel -
getButtons
-
setButtons
-
header
Header for the message in the standard WhatsApp messages channel -
getHeader
-
setHeader
-
integrationId
WhatsApp integration ID for whatsApp carousels -
getIntegrationId
-
setIntegrationId
-
category
Category of whatsApp carousels template. -
getCategory
-
setCategory
-
getTemplateStatus
-
getStatusInfo
-
carousel
Definition for whatsApp carousels template. -
getCarousel
-
setCarousel
-
equals
-
hashCode
public int hashCode() -
toString
-