ב-3 במאי 2023 נוציא משימוש את Transactions API, לפני ההוצאה משימוש של Conversations Actions ב-13 ביוני 2023.
כאן תוכלו לקרוא מידע נוסף על ההוצאה משימוש של 'פעולות שיחה'.
TransactionDecisionValueSpec
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
transactionDecisionValueSpec מועבר כקלט מהפעולה עבור Intent מסוג 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 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\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. |"]]