سيتم إيقاف واجهة برمجة تطبيقات المعاملات في 3 أيار (مايو) 2023، قبل إيقاف ميزة "إجراءات المحادثات" في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
TransactionDecisionValue
تم الرجوع إلى الإجراء كمخرج لـ actions.intent.TRANSACTION_DECISION
.
تمثيل JSON |
{
"transactionDecision": enum (TransactionDecision ),
// Union field value can be only one of the following:
"order": {
object (Order )
},
"deliveryAddress": {
object (Location )
}
// End of list of possible types for union field value .
} |
الحقول |
transactionDecision |
enum (TransactionDecision )
القرار بشأن الطلب
|
حقل الاتحاد value . يمكن أن يكون value واحدًا فقط مما يلي: |
order |
object (Order )
تمثّل هذه السمة الطلب الذي وافق عليه المستخدم. لن يتوفّر هذا الحقل إلا عندما تكون قيمة transactionDecision هي ORDER_ACCEPTED .
|
deliveryAddress |
object (Location )
إذا طلب المستخدم تعديل عنوان التسليم، سيتضمّن هذا الحقل عنوان التسليم الجديد. لن يتوفّر هذا الحقل إلا عندما تكون قيمة transactionDecision هي DELIVERY_ADDRESS_UPDATED .
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-12 (حسب التوقيت العالمي المتفَّق عليه)"],[[["JSON is returned as output for `actions.intent.TRANSACTION_DECISION`."],["It contains the `transactionDecision` field indicating the decision (e.g., order acceptance, delivery address update)."],["Depending on the `transactionDecision`, it might include `order` or `deliveryAddress` details."],["`order` is present when the transaction decision is `ORDER_ACCEPTED` and contains the approved order details."],["`deliveryAddress` is included when the transaction decision is `DELIVERY_ADDRESS_UPDATED` and contains the updated delivery address."]]],[]]