Package com.mypurecloud.sdk.v2.model
Class CardAction
java.lang.Object
com.mypurecloud.sdk.v2.model.CardAction
- All Implemented Interfaces:
Serializable
A card action that a user can take.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetText()getType()getUrl()inthashCode()isSelected(Boolean isSelected) Indicates if the card option is selected by end customer.Content of the textback payload after clicking a button.voidsetIsSelected(Boolean isSelected) voidsetPayload(String payload) voidvoidsetType(CardAction.TypeEnum type) voidThe response text from the button click.toString()type(CardAction.TypeEnum type) Describes the type of action.The location of the image file associated with action.
-
Constructor Details
-
CardAction
public CardAction() -
CardAction
-
-
Method Details
-
type
Describes the type of action. -
getType
-
setType
-
text
The response text from the button click. -
getText
-
setText
-
payload
Content of the textback payload after clicking a button. -
getPayload
-
setPayload
-
url
The location of the image file associated with action. -
getUrl
-
setUrl
-
isSelected
Indicates if the card option is selected by end customer. -
getIsSelected
-
setIsSelected
-
equals
-
hashCode
public int hashCode() -
toString
-