SearchOptions

data class SearchOptions

Constructors

Link copied to clipboard
fun SearchOptions(query: String = "", @IntRange(from = 1, to = 100) limit: Int = DEFAULT_LIMIT, countryCodes: Set<String> = emptySet(), geoBias: GeoPoint? = null, @Size(min = 0, max = 50) searchAreas: Set<Geometry> = emptySet(), locale: Locale? = null, resultTypes: Set<ResultType> = emptySet(), categoryIds: Set<CategoryId> = emptySet(), brands: Set<Brand> = emptySet(), connectors: Set<ConnectorType> = emptySet(), minPower: Power? = null, maxPower: Power? = null, fuelTypes: Set<FuelType> = emptySet(), geoPoliticalView: GeoPoliticalView? = null, openingHoursMode: OpeningHoursMode? = null, sessionId: String = "")

Defines the parameters of a Search.

Link copied to clipboard
fun SearchOptions(route: List<GeoPoint>, maxDetourDuration: Duration, query: String = "", @IntRange(from = 1, to = 20) limit: Int = DEFAULT_LIMIT, categoryIds: Set<CategoryId> = emptySet(), brands: Set<Brand> = emptySet(), fuelTypes: Set<FuelType> = emptySet(), connectors: Set<ConnectorType> = emptySet(), minPower: Power? = null, maxPower: Power? = null, geoPoliticalView: GeoPoliticalView? = null, sortBy: SortBy = SortBy.DetourTime, openingHoursMode: OpeningHoursMode? = null, sessionId: String = "")

Defines the parameters of a Search.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val limit: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard