Package com.mypurecloud.sdk.v2.model
Class Button
java.lang.Object
com.mypurecloud.sdk.v2.model.Button
- All Implemented Interfaces:
Serializable
Button
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of button to include in whatsApp template -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContent of the button.contentText(String contentText) The text label that will be displayed on the buttonbooleangetType()inthashCode()A payload to uniquely identify a quickReply button in carouselvoidsetContent(String content) voidsetContentText(String contentText) voidsetPayload(String payload) voidsetType(Button.TypeEnum type) toString()type(Button.TypeEnum type) Type of button to include in whatsApp template
-
Constructor Details
-
Button
public Button() -
Button
-
-
Method Details
-
type
Type of button to include in whatsApp template -
getType
-
setType
-
content
Content of the button. Use for 'Url' or 'PhoneNumber' button type -
getContent
-
setContent
-
contentText
The text label that will be displayed on the button -
getContentText
-
setContentText
-
payload
A payload to uniquely identify a quickReply button in carousel -
getPayload
-
setPayload
-
equals
-
hashCode
public int hashCode() -
toString
-