Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see Conversational Actions sunset.
Options used to customize order presentation to the user.
PresentationOptions
Options used to customize the order presentation to the user.
JSON representation
{"callToAction": string}
Fields
callToAction
string
callToAction can be one of the following values:
PLACE_ORDER: Used for placing an order. PAY: Used for a payment. BUY: Used for a purchase. SEND: Used for a money transfer. BOOK: Used for a booking. RESERVE: Used for reservation. SCHEDULE: Used for scheduling an appointment. SUBSCRIBE: Used for subscription.
callToAction refers to the action verb which best describes this order. This will be used in various places like prompt, suggestion chip etc while proposing the order to the user.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`TransactionDecisionValueSpec` is part of the deprecated Orders v2 API and developers should refer to the migration guide for Orders v3."],["It is used as input for the `actions.intent.TRANSACTION_DECISION` intent and contains details about the proposed order, options, and payment."],["`TransactionDecisionValueSpec` includes a `presentationOptions` field to customize how the order is shown to the user, such as the call to action."],["The `callToAction` field within `presentationOptions` helps define the primary action verb for the order (e.g., \"PLACE_ORDER\", \"PAY\", \"BUY\")."]]],[]]