OrderOptions
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी ऑर्डर से जुड़े विकल्प.
JSON के काेड में दिखाना |
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object (UserInfoOptions )
}
} |
फ़ील्ड |
requestDeliveryAddress |
boolean
अगर सही है, तो इससे जुड़े ऑर्डर के लिए, डिलीवरी का पता डालना ज़रूरी है.
|
userInfoOptions |
object (UserInfoOptions )
इस फ़ील्ड को सेट करके ऐप्लिकेशन, उपयोगकर्ताओं की जानकारी पाने का अनुरोध कर सकता है. अगर सेट हो जाता है, तो उपयोगकर्ता की पुष्टि के लिए संबंधित फ़ील्ड प्रस्तावितOrdercard में दिखेगा.
|
UserInfoOptions
उपयोगकर्ता की जानकारी से जुड़े विकल्प.
फ़ील्ड |
userInfoProperties[] |
enum (UserInfoProperty )
उपयोगकर्ता जानकारी प्रॉपर्टी की सूची.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],["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"],null,[]]