TransactionDecision
Décisions possibles concernant la commande.
Enums |
TRANSACTION_DECISION_UNSPECIFIED |
Décision non spécifiée. |
USER_CANNOT_TRANSACT |
L'utilisateur ne peut pas effectuer cette transaction. |
ORDER_ACCEPTED |
La commande a été acceptée par l'utilisateur. |
ORDER_REJECTED |
La commande a été refusée par l'utilisateur. |
DELIVERY_ADDRESS_UPDATED |
L'utilisateur met à jour l'adresse de livraison qui doit être modifiée. L'application DOIT appeler l'intent actions.intent.TRANSACTION_DECISION avec la commande mise à jour. |
CART_CHANGE_REQUESTED |
L'utilisateur demande de changer de panier, par exemple "changer de panier" ou "autre chose". L'application doit gérer l'interaction avec le panier et modifier l'intent actions.intent.TRANSACTION_DECISION une fois le panier modifié. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2023/05/16 (UTC).
[null,null,["Dernière mise à jour le 2023/05/16 (UTC)."],[[["The table outlines possible decisions a user can make regarding an order, such as accepting, rejecting, or requesting changes."],["Users might be ineligible to transact, and the system has a response for that scenario."],["If a user updates their delivery address or requests cart changes, the app must handle these interactions and update the order accordingly."],["The `actions.intent.TRANSACTION_DECISION` intent should be called by the app after handling user decisions and updates."]]],["The document outlines possible decisions regarding an order, represented by enums. These include an unspecified decision, user ineligibility to transact, order acceptance or rejection. It also covers delivery address updates, requiring an update to the order via the `actions.intent.TRANSACTION_DECISION` intent. Furthermore, cart change requests necessitate handling cart interactions and subsequently calling the `actions.intent.TRANSACTION_DECISION` intent to reflect the changes.\n"]]