AI-generated Key Takeaways
-
This JSON representation is returned to the action as output for
actions.intent.TRANSACTION_DECISION. -
The object contains a
transactionDecisionenum and a union fieldvaluewhich can be either anorderobject or adeliveryAddressobject. -
The
orderfield is present only whentransactionDecisionisORDER_ACCEPTEDand represents the user-approved order. -
The
deliveryAddressfield is present only whentransactionDecisionisDELIVERY_ADDRESS_UPDATEDand contains the new delivery address requested by the user.
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 |
|