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.
[null,null,["Last updated 2024-09-18 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,[]]