AI-generated Key Takeaways
-
OrderOptions define options associated with an order, including the ability to request a delivery address and specify user information options.
-
The
requestDeliveryAddressfield is a boolean that, if true, indicates a delivery address is required for the order. -
The
userInfoOptionsfield is an object that allows the app to request specific user information, which will be displayed in the ProposedOrderCard for user confirmation. -
UserInfoOptions contain a list of
userInfoProperties, which are enums representing specific user information fields that can be requested.
Options associated with an order.
| JSON representation | |
|---|---|
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object ( |
|
| Fields | |
|---|---|
requestDeliveryAddress |
If true, delivery address is required for the associated order. |
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.
| JSON representation | |
|---|---|
{
"userInfoProperties": [
enum ( |
|
| Fields | |
|---|---|
userInfoProperties[] |
List of user info properties. |