Transaction API 将于 2023 年 5 月 3 日弃用,在此之前,会话操作将于 2023 年 6 月 13 日停用。如需了解详情,请参阅
对话型 Action 停用。
PresentationOptions
JSON 表示法 |
{
"actionDisplayName": string
} |
字段 |
actionDisplayName |
string
actionDisplayName 可以是以下值之一: PLACE_ORDER :用于下单。PAY :用于付款。BUY :用于购买交易。SEND :用于转账。BOOK :用于预订。RESERVE :用于预留。SCHEDULE :用于安排预约。SUBSCRIBE :用于订阅。
actionDisplayName 是指最符合该顺序的操作名称。在向用户建议订单时,会在提示、建议内容信息卡等各种位置使用此信息。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):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"]]