سيتم إيقاف واجهة برمجة تطبيقات المعاملات في 3 أيار (مايو) 2023، قبل إيقاف ميزة "إجراءات المحادثات" في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
TransactionDecisionValueSpec
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يتم تمرير transactionDecisionValueSpec كإدخال من الإجراء لهدف actions.intent.TRANSACTION_DECISION
.
الحقول |
order |
object (Order )
تمثّل هذه السمة الترتيب الذي يمكن للمستخدم الموافقة عليه.
|
orderOptions |
object (OrderOptions )
الخيارات المرتبطة بالطلب.
|
paymentParameters |
object (PaymentParameters )
معلَمات لطلب الدفع لهذا الطلب.
|
presentationOptions |
object (PresentationOptions )
الخيارات المستخدمة لتخصيص عرض الطلب للمستخدم.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]