OrderOptions
Stay organized with collections
Save and categorize content based on your preferences.
Deprecated: Use V3 Proto instead. Options associated with an order.
CustomerInfoOptions
Deprecated: Use V3 Proto instead. Options regarding customer info.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eOrderOptions allows specifying if a delivery address is required and enables requesting specific customer information.\u003c/p\u003e\n"],["\u003cp\u003eThis item is deprecated and developers should use V3 Proto instead.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erequestDeliveryAddress\u003c/code\u003e is a boolean indicating if a delivery address is needed for the order.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecustomerInfoOptions\u003c/code\u003e enables requesting customer information, prompting user confirmation via the ProposedOrderCard.\u003c/p\u003e\n"],["\u003cp\u003eCustomerInfoOptions defines the customer information properties to be requested, such as email or phone number.\u003c/p\u003e\n"]]],[],null,["# OrderOptions\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [CustomerInfoOptions](#CustomerInfoOptions)\n - [JSON representation](#CustomerInfoOptions.SCHEMA_REPRESENTATION)\n\n| This item is deprecated!\nDeprecated: Use V3 Proto instead. Options associated with an order.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"requestDeliveryAddress\": boolean, \"customerInfoOptions\": { object (/assistant/df-asdk/reference/webhook/rest/Shared.Types/OrderOptions#CustomerInfoOptions) } } ``` |\n\n| Fields ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requestDeliveryAddress` | `boolean` If true, delivery address is required for the associated Order. |\n| `customerInfoOptions` | `object (`[CustomerInfoOptions](/assistant/df-asdk/reference/webhook/rest/Shared.Types/OrderOptions#CustomerInfoOptions)`)` The app can request customer info by setting this field. If set, the corresponding field will show up in ProposedOrderCard for user's confirmation. |\n\nCustomerInfoOptions\n-------------------\n\n| This item is deprecated!\nDeprecated: Use V3 Proto instead. Options regarding customer info.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"customerInfoProperties\": [ enum (/assistant/df-asdk/reference/webhook/rest/Shared.Types/CustomerInfoProperty) ] } ``` |\n\n| Fields ||\n|----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customerInfoProperties[]` | `enum (`[CustomerInfoProperty](/assistant/df-asdk/reference/webhook/rest/Shared.Types/CustomerInfoProperty)`)` List of customer info properties. |"]]