交易 API 將於 2023 年 5 月 3 日淘汰,並將於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
TransactionDecision
列舉 |
TRANSACTION_DECISION_UNSPECIFIED |
未指定決定。 |
USER_CANNOT_TRANSACT |
使用者不符合這筆交易資格。 |
ORDER_ACCEPTED |
使用者已接受訂單。 |
ORDER_REJECTED |
使用者已拒絕訂單。 |
DELIVERY_ADDRESS_UPDATED |
需要更新訂單的使用者更新寄送地址。應用程式「必須」以更新後的順序呼叫 actions.intent.TRANSACTION_DECISION 意圖。 |
CART_CHANGE_REQUESTED |
使用者要求變更購物車,例如「變更購物車」或「變更其他內容」。購物車變更後,應用程式必須處理與使用者相關的購物車變更互動,並呼叫 actions.intent.TRANSACTION_DECISION 意圖。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-05-16 (世界標準時間)。
[null,null,["上次更新時間:2023-05-16 (世界標準時間)。"],[[["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"]]