OrderOptions

  • OrderOptions define options associated with an order, including whether a delivery address is required and user information options.

  • The requestDeliveryAddress field is a boolean that, if true, signifies a delivery address is necessary for the order.

  • userInfoOptions is 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 userInfoProperties enum.

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.

JSON representation
 { 
 "userInfoProperties" 
 : 
 [ 
 enum (  UserInfoProperty 
 
) 
 ] 
 } 
Fields
userInfoProperties[]

enum ( UserInfoProperty )

List of user info properties.

Create a Mobile Website
View Site in Mobile | Classic
Share by: