PlaceDetails

Information about the retrieved place.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(name: String = "", street: String = "", address: String = "", city: String = "", citySubdivision: String = "", countryTertiarySubdivision: String = "", countrySecondarySubdivision: String = "", countrySubdivision: String = "", country: String = "", distance: FormattedDistance? = null, position: GeoPoint, entryPoints: List<EntryPoint> = emptyList(), phones: Set<String> = emptySet(), emails: Set<String> = emptySet(), urls: Set<String> = emptySet(), brands: Set<Brand> = emptySet(), fuelTypes: Set<FuelType> = emptySet(), vehicleTypes: Set<VehicleType> = emptySet(), connectorTypes: Set<ConnectorType> = emptySet(), timeZone: TimeZone? = null, openingHours: OpeningHours? = null)

Constructor to create a new PlaceDetails object.

constructor(name: String = "", street: String = "", address: String = "", city: String = "", citySubdivision: String = "", countryTertiarySubdivision: String = "", countrySecondarySubdivision: String = "", countrySubdivision: String = "", country: String = "", distance: FormattedDistance? = null, position: GeoPoint, entryPoints: List<EntryPoint> = emptyList())

Constructor to create a new PlaceDetails object.

Properties

Link copied to clipboard

The address of the place.

Link copied to clipboard

The brands associated with the place.

Link copied to clipboard

The city of the place.

Link copied to clipboard

The subdivision of the city where the place is located.

Link copied to clipboard

The types of connectors available at the place (if it's an Electric Vehicle Station).

Link copied to clipboard

The country where the place is located.

Link copied to clipboard

The secondary subdivision of the country where the place is located.

Link copied to clipboard

The subdivision of the country where the place is located.

Link copied to clipboard

The tertiary subdivision of the country where the place is located.

Link copied to clipboard

The distance to the place.

Link copied to clipboard

The email addresses of the place.

Link copied to clipboard

The entry points to the place.

Link copied to clipboard

The types of fuel available at the place.

Link copied to clipboard

The name of the place.

Link copied to clipboard

The opening hours of the place.

Link copied to clipboard

The phone numbers of the place.

Link copied to clipboard

The geographic point of the place.

Link copied to clipboard

The street of the place.

Link copied to clipboard

The timezone of the place.

Link copied to clipboard

The URLs related to the place.

Link copied to clipboard

The types of vehicles that can access this place.

Functions

Link copied to clipboard
fun copy(name: String = this.name, street: String = this.street, address: String = this.address, city: String = this.city, citySubdivision: String = this.citySubdivision, countryTertiarySubdivision: String = this.countryTertiarySubdivision, countrySecondarySubdivision: String = this.countrySecondarySubdivision, countrySubdivision: String = this.countrySubdivision, country: String = this.country, distance: FormattedDistance? = this.distance, position: GeoPoint = this.position, entryPoints: List<EntryPoint> = this.entryPoints): PlaceDetails

Creates a copy of this PlaceDetails object.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this PlaceDetails object is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this PlaceDetails object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this PlaceDetails object.