TransactionDecision

  • TRANSACTION_DECISION_UNSPECIFIED indicates the decision is unspecified.

  • USER_CANNOT_TRANSACT means the user is ineligible to perform the transaction.

  • ORDER_ACCEPTED signifies the order was accepted by the user.

  • ORDER_REJECTED indicates the order was rejected by the user.

  • DELIVERY_ADDRESS_UPDATED occurs when the user updates their delivery address, requiring an order update and a call to actions.intent.TRANSACTION_DECISION.

  • CART_CHANGE_REQUESTED means the user asked to change the cart, requiring the app to handle the interaction and call actions.intent.TRANSACTION_DECISION after the change.

Possible decisions regarding the order.

Enums
TRANSACTION_DECISION_UNSPECIFIED Decision unspecified.
USER_CANNOT_TRANSACT User is not eligible to perform this transaction.
ORDER_ACCEPTED Order was accepted by user.
ORDER_REJECTED Order was rejected by user.
DELIVERY_ADDRESS_UPDATED User updates delivery address which requires order being updated. The app MUST call actions.intent.TRANSACTION_DECISION intent with the updated order.
CART_CHANGE_REQUESTED User asks for changing cart, e.g. "change cart", "change something else". The app needs to handle cart change interaction with user and call actions.intent.TRANSACTION_DECISION intent once the cart is changed.