交易 API 將於 2023 年 5 月 3 日淘汰,並將於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
TransactionDecision
bookmark_borderbookmark
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
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 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2023-05-16 (世界標準時間)。"],[[["This documentation outlines the possible decisions a user can make regarding an order within a transaction flow."],["The decision options include unspecified, user ineligibility, order acceptance or rejection, delivery address updates, and cart change requests."],["Each decision enum is associated with a specific user action and requires corresponding handling by the application."],["For delivery address updates and cart change requests, the application must call the `actions.intent.TRANSACTION_DECISION` intent with the updated information."]]],["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"]]