TransactionDecision
การตัดสินใจเกี่ยวกับคําสั่งซื้อ
Enum |
TRANSACTION_DECISION_UNSPECIFIED |
ไม่ได้ระบุการตัดสินใจ |
USER_CANNOT_TRANSACT |
ผู้ใช้ไม่มีสิทธิ์ทําธุรกรรมนี้ |
ORDER_ACCEPTED |
ผู้ใช้ยอมรับคําสั่งซื้อ |
ORDER_REJECTED |
ผู้ใช้ปฏิเสธคําสั่งซื้อ |
DELIVERY_ADDRESS_UPDATED |
ผู้ใช้อัปเดตที่อยู่สําหรับจัดส่งซึ่งจําเป็นต้องอัปเดตคําสั่งซื้อ แอปต้องเรียกใช้ Intent ของ actions.intent.TRANSACTION_DECISION ด้วยคําสั่งซื้อที่อัปเดต |
CART_CHANGE_REQUESTED |
ผู้ใช้ขอให้เปลี่ยนรถเข็น เช่น "เปลี่ยนรถเข็น" "เปลี่ยนอย่างอื่น" แอปต้องจัดการกับการโต้ตอบกับการเปลี่ยนแปลงรถเข็นที่ผู้ใช้และเรียก Intent ของ actions.intent.TRANSACTION_DECISION เมื่อเปลี่ยนรถเข็นแล้ว |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-05-16 UTC
[null,null,["อัปเดตล่าสุด 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"]]