TransactionUserDecision
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
UNKNOWN_USER_DECISION |
未指定用户决策。 |
ORDER_ACCEPTED |
用户已接受订单。 |
ORDER_REJECTED |
用户拒绝了订单。 |
DELIVERY_ADDRESS_UPDATED |
用户更新配送地址,该地址需要更新提议的订单。应用必须使用更新后的建议顺序再次调用 AskForTransactionDecision()。 |
CART_CHANGE_REQUESTED |
用户要求更改购物车,例如“更改购物车”、“更改其他内容”。应用需要处理购物车变更与用户的互动,并在购物车发生变化后再次调用 AskForTransactionDecision()。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis table outlines the possible decisions a user can make regarding a proposed order within an application.\u003c/p\u003e\n"],["\u003cp\u003eUser decisions include accepting, rejecting, updating the delivery address, or requesting cart changes.\u003c/p\u003e\n"],["\u003cp\u003eIf the delivery address is updated or the cart is changed, the application must re-request a transaction decision with the updated information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN_USER_DECISION\u003c/code\u003e is a default state representing an unspecified user decision.\u003c/p\u003e\n"]]],[],null,["# TransactionUserDecision\n\n/ Posible user decisions regarding the proposed order.\n\n| Enums ||\n|----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `UNKNOWN_USER_DECISION` | Unspecified user decision. |\n| `ORDER_ACCEPTED` | Order was accepted by user. |\n| `ORDER_REJECTED` | Order was rejected by user. |\n| `DELIVERY_ADDRESS_UPDATED` | User updates delivery address which requires proposed order being updated. The app MUST call AskForTransactionDecision() again with the updated proposed order. |\n| `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. |"]]