Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface V2Location

Merchant's address.

Container that represents a location.

Pickup or delivery location.

Location of the service/event.

The location where the event is happening, or an organization is located.

Hierarchy

  • V2Location

Properties

Optional city

city: undefined | string

City. Requires the DEVICE_PRECISE_LOCATION or DEVICE_COARSE_LOCATION permission.

Optional coordinates

coordinates: LatLng

Geo coordinates. Requires the DEVICE_PRECISE_LOCATION permission.

Optional formattedAddress

formattedAddress: undefined | string

Display address, e.g., "1600 Amphitheatre Pkwy, Mountain View, CA 94043". Requires the DEVICE_PRECISE_LOCATION permission.

Optional name

name: undefined | string

Name of the place.

Optional notes

notes: undefined | string

Notes about the location.

Optional phoneNumber

phoneNumber: undefined | string

Phone number of the location, e.g. contact number of business location or phone number for delivery location.

Optional placeId

placeId: undefined | string

place_id is used with Places API to fetch details of a place. See https://developers.google.com/places/web-service/place-id

Optional postalAddress

postalAddress: PostalAddress

Postal address. Requires the DEVICE_PRECISE_LOCATION or DEVICE_COARSE_LOCATION permission.

Optional zipCode

zipCode: undefined | string

Zip code. Requires the DEVICE_PRECISE_LOCATION or DEVICE_COARSE_LOCATION permission.

Generated using TypeDoc