交易 API 將於 2023 年 5 月 3 日淘汰,並將於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
PresentationOptions
JSON 表示法 |
{
"actionDisplayName": string
} |
欄位 |
actionDisplayName |
string
actionDisplayName 可以是下列其中一個值: PLACE_ORDER :用於下單。PAY :用於付款。BUY :用於購買交易。SEND :用於匯款。BOOK :用於預訂。RESERVE :用於預留項目。SCHEDULE :用於預約預約。SUBSCRIBE :用於訂閱項目。
actionDisplayName 是指最能描述此訂單的動作名稱。這項功能會用於提示、建議方塊等多種位置,同時向使用者建議訂單。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-29 (世界標準時間)。
[null,null,["上次更新時間:2024-08-29 (世界標準時間)。"],[[["The JSON schema defines options for customizing how orders are presented to users."],["`actionDisplayName` is a string field used to specify the type of order action (e.g., place order, pay, buy) and is displayed in prompts and suggestions to the user."],["It can accept values like `PLACE_ORDER`, `PAY`, `BUY`, `SEND`, `BOOK`, `RESERVE`, `SCHEDULE`, and `SUBSCRIBE` to represent different order actions."]]],["The document outlines a JSON representation for customizing order presentation. The key element is `actionDisplayName`, a string field specifying the action type. Possible values include `PLACE_ORDER`, `PAY`, `BUY`, `SEND`, `BOOK`, `RESERVE`, `SCHEDULE`, and `SUBSCRIBE`. This field determines how the order is displayed and proposed to the user in prompts and suggestions, using a specific name to describe the action.\n"]]