GenericExtension

  • GenericExtension is deprecated and developers should use V3 Proto instead.

  • It allows for specifying order locations and time associated with an order.

  • Locations can be specified with an address type and location information.

  • Time can be indicated as a duration, date, or exact datetime in ISO 8601 format.

Deprecated: Use V3 Proto instead. Extension for generic orders that are not tied to a semantic type.

JSON representation
{
  "locations": [
    {
      object (OrderLocation)
    }
  ],
  "time": {
    object (Time)
  }
}
Fields
locations[]

object (OrderLocation)

Locations associated with the order. Up to 2 locations.

time

object (Time)

time indicator associated with the proposed order.

OrderLocation

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

JSON representation
{
  "type": enum (OrderLocationType),
  "location": {
    object (Location)
  }
}
Fields
type

enum (OrderLocationType)

Address type. Determines icon and placement. Required.

location

object (Location)

Contains actual location info.

Time

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

JSON representation
{
  "type": enum (TimeType),
  "timeIso8601": string
}
Fields
type

enum (TimeType)

type of time indicator.

timeIso8601

string

ISO 8601 representation of time indicator: could be a duration, date or exact datetime.