OrderOptions

  • OrderOptions and CustomerInfoOptions are deprecated and should be replaced with V3 Proto.

  • OrderOptions allow you to request a delivery address and include customer information options.

  • CustomerInfoOptions specify which customer information properties are requested.

Deprecated: Use V3 Proto instead. Options associated with an order.

JSON representation
{
  "requestDeliveryAddress": boolean,
  "customerInfoOptions": {
    object (CustomerInfoOptions)
  }
}
Fields
requestDeliveryAddress

boolean

If true, delivery address is required for the associated Order.

customerInfoOptions

object (CustomerInfoOptions)

The app can request customer info by setting this field. If set, the corresponding field will show up in ProposedOrderCard for user's confirmation.

CustomerInfoOptions

Deprecated: Use V3 Proto instead. Options regarding customer info.

JSON representation
{
  "customerInfoProperties": [
    enum (CustomerInfoProperty)
  ]
}
Fields
customerInfoProperties[]

enum (CustomerInfoProperty)

List of customer info properties.