Class Button

java.lang.Object
com.mypurecloud.sdk.v2.model.Button
All Implemented Interfaces:
Serializable

public class Button extends Object implements Serializable
Button
See Also:
  • Constructor Details

    • Button

      public Button()
    • Button

      public Button(Boolean initWithEmptyList)
  • Method Details

    • type

      public Button type(Button.TypeEnum type)
      Type of button to include in whatsApp template
    • getType

      public Button.TypeEnum getType()
    • setType

      public void setType(Button.TypeEnum type)
    • content

      public Button content(String content)
      Content of the button. Use for 'Url' or 'PhoneNumber' button type
    • getContent

      public String getContent()
    • setContent

      public void setContent(String content)
    • contentText

      public Button contentText(String contentText)
      The text label that will be displayed on the button
    • getContentText

      public String getContentText()
    • setContentText

      public void setContentText(String contentText)
    • payload

      public Button payload(String payload)
      A payload to uniquely identify a quickReply button in carousel
    • getPayload

      public String getPayload()
    • setPayload

      public void setPayload(String payload)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object