GenericExtension

  • GenericExtension is an extension for generic orders not tied to a semantic type, although it is deprecated in favor of V3 Proto.

  • The GenericExtension JSON representation includes fields for locations , which can contain up to 2 OrderLocation objects, and time , which contains a Time object.

  • OrderLocation, which is also deprecated and should use V3 Proto instead, represents a location associated with an order and includes fields for the type of address and the actual location information.

  • Time, also deprecated in favor of V3 Proto, indicates the time associated with an order and includes fields for the type of time indicator and the timeIso8601 representation.

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.

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