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.
TransactionDecisionValue
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
This information describes the JSON representation of the TransactionDecisionValue object, which is returned as output for actions.intent.TRANSACTION_DECISION.
The object contains a transactionDecision field indicating the decision made regarding the order.
Depending on the transactionDecision, either an order object (if accepted) or a deliveryAddress object (if updated) will be present.
Returned to the action as output for actions.intent.TRANSACTION_DECISION.
JSON representation
{"transactionDecision": enum (TransactionDecision),// Union field value can be only one of the following:"order": {object (Order)},"deliveryAddress": {object (Location)}// End of list of possible types for union field value.}
If user requests for delivery address update, this field includes the new delivery address. This field will be present only when transactionDecision is DELIVERY_ADDRESS_UPDATED.
[[["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."],[],[]]