AI-generated Key Takeaways
-
OrderOptions define options associated with an order, including whether a delivery address is required and user information options.
-
The
requestDeliveryAddressfield is a boolean that, if true, signifies a delivery address is necessary for the order. -
userInfoOptionsis an object that, if set, allows the app to request specific user information properties, which will be displayed for user confirmation. -
UserInfoOptions contains a list of user info properties defined by the
userInfoPropertiesenum.
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. |