AI-generated Key Takeaways
-
Returned as output for the
actions.intent.TRANSACTION_DECISION
action. -
Represents the user's decision on a transaction, which can be to accept the order, update the delivery address, or another decision defined by
TransactionDecision
. -
If the user accepts the order (
transactionDecision
isORDER_ACCEPTED
), the JSON response includes theorder
object. -
If the user updates the delivery address (
transactionDecision
isDELIVERY_ADDRESS_UPDATED
), the JSON response includes thedeliveryAddress
object.
Returned to the action as output for actions.intent.TRANSACTION_DECISION
.
JSON representation | |
---|---|
{ "transactionDecision": enum ( |
Fields | ||
---|---|---|
transactionDecision |
Decision regarding the order. |
|
Union field
|
||
order |
The order that user has approved. This field will be present only when |
|
deliveryAddress |
If user requests for delivery address update, this field includes the new delivery address. This field will be present only when |