TransactionUserDecision

  • This document outlines possible user decisions regarding a proposed order.

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

  • Updates to the delivery address or requests for cart changes require re-presenting the proposed order to the user.

/ 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.