OrderOptions
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
OrderOptions allows specifying if a delivery address is required and enables requesting specific customer information.
This item is deprecated and developers should use V3 Proto instead.
requestDeliveryAddress
is a boolean indicating if a delivery address is needed for the order.
customerInfoOptions
enables requesting customer information, prompting user confirmation via the ProposedOrderCard.
CustomerInfoOptions defines the customer information properties to be requested, such as email or phone number.
Deprecated: Use V3 Proto instead. Options associated with an order.
JSON representation
{
"requestDeliveryAddress" : boolean ,
"customerInfoOptions" : {
object (CustomerInfoOptions
)
}
}
Fields
requestDeliveryAddress
boolean
If true, delivery address is required for the associated Order.
customerInfoOptions
object (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.
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."],[],[]]