FetchPlaceRequest
struct FetchPlaceRequest
The request for a specific placeID and place properties to include in the Place response.
-
Request object to use with
PlacesClient
to fetch a place.Read more about Place Data Fields.
Declaration
Swift
init(placeID: String, placeProperties: [PlaceProperty], sessionToken: AutocompleteSessionToken? = nil)
-
Place ID of the place being requested.
Declaration
Swift
var placeID: String { get }
-
Place properties to include in the Place response.
Declaration
Swift
var placeProperties: [PlaceProperty] { get }
-
Session token to associate the request to a billing session.
Declaration
Swift
var sessionToken: AutocompleteSessionToken? { get }