TransactionRequirementsCheckSpec
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
由应用作为 actions.intent.TRANSACTION_REQUIREMENTS_CHECK
的输入传递。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis documentation details the JSON representation used for the \u003ccode\u003eactions.intent.TRANSACTION_REQUIREMENTS_CHECK\u003c/code\u003e intent.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON input includes \u003ccode\u003eorderOptions\u003c/code\u003e for order details and \u003ccode\u003epaymentOptions\u003c/code\u003e for payment information.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003eorderOptions\u003c/code\u003e and \u003ccode\u003epaymentOptions\u003c/code\u003e are objects with specific structures defined in their respective linked documentation.\u003c/p\u003e\n"]]],["The input for `actions.intent.TRANSACTION_REQUIREMENTS_CHECK` is a JSON object containing two primary fields: `orderOptions` and `paymentOptions`. `orderOptions` contains information related to the order. `paymentOptions` holds the payment details for the order or is empty if no payment is required. Both fields refer to specific object types: `OrderOptions` and `PaymentOptions` respectively. This information details the structured data passed for verifying transaction prerequisites.\n"],null,["# TransactionRequirementsCheckSpec\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nPassed by the app as input for `actions.intent.TRANSACTION_REQUIREMENTS_CHECK`.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"orderOptions\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/OrderOptions) }, \"paymentOptions\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/PaymentOptions) } } ``` |\n\n| Fields ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `orderOptions` | `object (`[OrderOptions](/assistant/df-asdk/reference/webhook/rest/Shared.Types/OrderOptions)`)` Options associated with the order. |\n| `paymentOptions` | `object (`[PaymentOptions](/assistant/df-asdk/reference/webhook/rest/Shared.Types/PaymentOptions)`)` Payment options for this Order, or empty if no payment is associated with the Order. |"]]