TransactionUserDecision

  • This content pertains to the deprecated Orders version 2 API and provides a migration guide to version 3.

  • It outlines possible user decisions regarding a proposed order.

  • User decisions include accepting or rejecting an order, updating the delivery address, or requesting a change to the cart.

  • Updates to the delivery address or requests for cart changes require the app to call AskForTransactionDecision() again with the updated order or cart.

/ Posible user decisions regarding the proposed order.

Enums
UNKNOWN_USER_DECISION Unspecified user decision.
ORDER_ACCEPTED Order was accepted by user.
ORDER_REJECTED Order was rejected by user.
DELIVERY_ADDRESS_UPDATED User updates delivery address which requires proposed order being updated. The app MUST call AskForTransactionDecision() again with the updated proposed 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 AskForTransactionDecision() again once the cart is changed.