TransactionDecisionValueSpec
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
作为 actions.intent.TRANSACTION_DECISION
的输入从应用传递。
PresentationOptions
已弃用:请改用 V3 Proto。用于自定义向用户显示的订单呈现方式的选项。
JSON 表示法 |
{
"callToAction": string
} |
字段 |
callToAction |
string
callToAction 可以是以下值之一: PLACE_ORDER :用于下单。PAY :用于付款。BUY :用于购买交易。SEND :用于转账。BOOK :用于预订。RESERVE :用于预留。SCHEDULE :用于安排预约。SUBSCRIBE :用于订阅。
callToAction 是指最能准确描述此顺序的操作动词。在向用户建议订单时,会在提示、建议内容信息卡等各种位置使用此信息。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-10。
[[["易于理解","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"]],["最后更新时间 (UTC):2024-09-10。"],[[["`TransactionDecisionValueSpec` is used to pass input for `actions.intent.TRANSACTION_DECISION`."],["It includes details like `proposedOrder`, `orderOptions`, `paymentOptions`, and `presentationOptions`."],["`presentationOptions` is deprecated and suggests using V3 Proto instead."],["`callToAction` within `presentationOptions` helps tailor the user experience with appropriate action verbs."]]],["The core content details the structure and fields for presenting a transaction decision to a user, passed as input for `actions.intent.TRANSACTION_DECISION`. It includes `proposedOrder`, `orderOptions`, `paymentOptions`, and `presentationOptions`. `presentationOptions` offers a `callToAction` field, which specifies the action verb for the order (e.g., `PLACE_ORDER`, `PAY`, `BUY`). This helps customize how the order is presented and the prompt to the user.\n"]]