Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see
Conversational Actions sunset.
OrderOptions
Stay organized with collections
Save and categorize content based on your preferences.
Options associated with an order.
JSON representation |
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object (UserInfoOptions )
}
} |
Fields |
requestDeliveryAddress |
boolean
If true, delivery address is required for the associated order.
|
userInfoOptions |
object (UserInfoOptions )
The app can request user info by setting this field. If set, the corresponding field will show up in ProposedOrderCard for user's confirmation.
|
UserInfoOptions
Options regarding user info.
Fields |
userInfoProperties[] |
enum (UserInfoProperty )
List of user info properties.
|
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."],[[["OrderOptions allows specifying if a delivery address is required and what user information to request."],["`requestDeliveryAddress` is a boolean indicating if the order needs a delivery address."],["`userInfoOptions` enables requesting specific user information, like email or phone number, for the order."],["This information is displayed in the ProposedOrderCard for user confirmation."]]],[]]