OrderOptions

  • OrderOptions allows specifying if a delivery address is required and enables requesting specific customer information.

  • This item is deprecated and developers should use V3 Proto instead.

  • requestDeliveryAddress is a boolean indicating if a delivery address is needed for the order.

  • customerInfoOptions enables requesting customer information, prompting user confirmation via the ProposedOrderCard.

  • CustomerInfoOptions defines the customer information properties to be requested, such as email or phone number.

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.