Transactions API در 3 مه 2023 منسوخ خواهد شد، قبل از غروب کنشهای مکالمه در 13 ژوئن 2023. برای اطلاعات بیشتر،
غروب کنشهای مکالمه را ببینید.
TransactionDecisionValueSpec
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
TransactionDecisionValueSpec به عنوان ورودی از اقدام برای actions.intent.TRANSACTION_DECISION
intent ارسال می شود.
فیلدها |
---|
order | object ( Order ) سفارشی که برای تأیید کاربر آماده است. |
orderOptions | object ( OrderOptions ) گزینه های مرتبط با سفارش |
paymentParameters | object ( PaymentParameters ) پارامترهای درخواست پرداخت برای این سفارش. |
presentationOptions | object ( PresentationOptions ) گزینه های مورد استفاده برای سفارشی کردن ارائه سفارش به کاربر. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eTransactionDecisionValueSpec is used with the \u003ccode\u003eactions.intent.TRANSACTION_DECISION\u003c/code\u003e intent and provides information for users to approve transactions.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details about the order (Order object), order options (OrderOptions object), payment parameters (PaymentParameters object), and presentation options (PresentationOptions object).\u003c/p\u003e\n"],["\u003cp\u003eEach object within TransactionDecisionValueSpec offers specific data for managing and displaying transaction information to the user.\u003c/p\u003e\n"]]],["The `TransactionDecisionValueSpec` is an input for the `actions.intent.TRANSACTION_DECISION` intent. It comprises four key objects: `order` (the order for user approval), `orderOptions` (related order options), `paymentParameters` (payment request details), and `presentationOptions` (customizing order display). Each object is a distinct component, with links provided to its specific definition. This structure enables the configuration of order, payment, and visual presentation aspects.\n"],null,["# TransactionDecisionValueSpec\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nTransactionDecisionValueSpec is passed as input from the action for `actions.intent.TRANSACTION_DECISION` intent.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"order\": { object (/assistant/df-asdk/transactions/reference/physical/rest/v3/Order) }, \"orderOptions\": { object (/assistant/df-asdk/transactions/reference/physical/rest/v3/OrderOptions) }, \"paymentParameters\": { object (/assistant/df-asdk/transactions/reference/physical/rest/v3/PaymentParameters) }, \"presentationOptions\": { object (/assistant/df-asdk/transactions/reference/physical/rest/v3/PresentationOptions) } } ``` |\n\n| Fields ||\n|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `order` | `object (`[Order](/assistant/df-asdk/transactions/reference/physical/rest/v3/Order)`)` The order that's ready for user to approve. |\n| `orderOptions` | `object (`[OrderOptions](/assistant/df-asdk/transactions/reference/physical/rest/v3/OrderOptions)`)` Options associated with the order. |\n| `paymentParameters` | `object (`[PaymentParameters](/assistant/df-asdk/transactions/reference/physical/rest/v3/PaymentParameters)`)` Parameters for requesting payment for this order. |\n| `presentationOptions` | `object (`[PresentationOptions](/assistant/df-asdk/transactions/reference/physical/rest/v3/PresentationOptions)`)` Options used to customize order presentation to the user. |"]]