Package-level declarations

Includes classes which describe a certain Search, Autocomplete, EV Search or Point of Interest result.

Types

Link copied to clipboard
data class AutocompleteResult(val segments: List<AutocompleteSegment> = emptyList())

Contains a list of results returned by the Autocomplete engine.

Link copied to clipboard

The type of autocomplete result.

Link copied to clipboard

Describes an entity found within the autocomplete search term. An entity is a distinct part of the search term that can be used to generate a query.

Link copied to clipboard

Describes a brand found within the autocomplete search response.

Link copied to clipboard

Describes plain text found within the autocomplete search response.

Link copied to clipboard
data class AutocompleteSegmentPoiCategory(val poiCategory: PoiCategory, val matchedAlternativeName: String = "") : AutocompleteSegment

Describes a Point of Interest category (PoiCategory) found within the autocomplete search response.

Link copied to clipboard
class EvSearchResult(val id: PoiId, val names: List<String> = emptyList(), val phones: List<String> = emptyList(), val emails: List<String>? = null, val place: Place? = null, val chargingStations: List<ChargingStation> = emptyList(), val openingHours: OpeningHours? = null, val timeZone: TimeZone? = null, val paymentOptions: List<PaymentOptions> = emptyList(), val accessType: AccessType? = null, val detour: Detour? = null)

Describes the POI details of a single result item returned by the EV Search API.

Link copied to clipboard
data class PoiDetails(val searchResultId: SearchResultId, val place: Place, val poi: Poi, val boundingBox: GeoBoundingBox? = null)

The details of a Point of Interest (Poi).

Link copied to clipboard

Describes the details of a single result item returned by the Search API.

Link copied to clipboard
data class SearchResultId(val id: String, val source: Source, var position: Int? = null, val fuelPriceId: FuelPriceId? = null, val evChargingAvailabilityId: EvChargingAvailabilityId? = null, val parkingDetailId: ParkingDetailId? = null, val geometryId: GeometryId? = null)

Identifier that represents the search result.