TransactionDecisionValueSpec
Stay organized with collections
Save and categorize content based on your preferences.
Passed from the app as input for actions.intent.TRANSACTION_DECISION
.
Fields |
proposedOrder |
object (ProposedOrder )
The proposed order that's ready for user to approve.
|
orderOptions |
object (OrderOptions )
Options associated with the order.
|
paymentOptions |
object (PaymentOptions )
Payment options for this order, or empty if no payment is associated with the order.
|
presentationOptions |
object (PresentationOptions )
Options used to customize order presentation to the user.
|
PresentationOptions
Deprecated: Use V3 Proto instead. 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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["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 used to pass input for `actions.intent.TRANSACTION_DECISION`."],["It includes details like `proposedOrder`, `orderOptions`, `paymentOptions`, and `presentationOptions`."],["`presentationOptions` is deprecated and suggests using V3 Proto instead."],["`callToAction` within `presentationOptions` helps tailor the user experience with appropriate action verbs."]]],[]]