AI-generated Key Takeaways
-
This information describes the JSON representation of the
TransactionDecisionValueobject, which is returned as output foractions.intent.TRANSACTION_DECISION. -
The object contains a
transactionDecisionfield indicating the decision made regarding the order. -
Depending on the
transactionDecision, either anorderobject (if accepted) or adeliveryAddressobject (if updated) will be present.
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 |
|