سيتم إيقاف واجهة برمجة تطبيقات المعاملات في 3 أيار (مايو) 2023، قبل إيقاف ميزة "إجراءات المحادثات" في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
OrderOptions
الخيارات المرتبطة بطلب معيّن
تمثيل JSON |
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object (UserInfoOptions )
}
} |
الحقول |
requestDeliveryAddress |
boolean
إذا كانت القيمة هي true، يجب توفير عنوان التسليم للطلب المرتبط.
|
userInfoOptions |
object (UserInfoOptions )
يمكن للتطبيق طلب معلومات المستخدم من خلال ضبط هذا الحقل. في حال ضبطها، سيظهر الحقل المقابل في ProposedOrderCard لتأكيد المستخدم.
|
UserInfoOptions
الخيارات المتعلّقة بمعلومات المستخدم
الحقول |
userInfoProperties[] |
enum (UserInfoProperty )
قائمة خصائص معلومات المستخدمين
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-29 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-29 (حسب التوقيت العالمي المتفَّق عليه)"],[[["OrderOptions allows specifying if a delivery address is required and provides options for requesting user information."],["`requestDeliveryAddress` is a boolean indicating whether the order requires a delivery address."],["`userInfoOptions` enables the app to request specific user information, such as name, email, or phone number, which will be displayed for confirmation in the ProposedOrderCard."],["`userInfoProperties` is a list of user info properties that the app can request, including options like given name, family name, email, and phone number."]]],["The document defines order options using JSON. It allows specifying whether a delivery address is required (`requestDeliveryAddress`), represented by a boolean. It also defines `userInfoOptions`, an object enabling apps to request user information. `userInfoOptions` uses `userInfoProperties`, an array of enumerated user info properties, for the specific details to be requested. If set, these fields appear in the ProposedOrderCard for user confirmation. The provided data structure and its types are detailed in associated tables.\n"]]