AI-generated Key Takeaways
-
JSON is returned as output for
actions.intent.TRANSACTION_DECISION
. -
It contains the
transactionDecision
field indicating the decision (e.g., order acceptance, delivery address update). -
Depending on the
transactionDecision
, it might includeorder
ordeliveryAddress
details. -
order
is present when the transaction decision isORDER_ACCEPTED
and contains the approved order details. -
deliveryAddress
is included when the transaction decision isDELIVERY_ADDRESS_UPDATED
and contains the updated delivery address.
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 |