Builder

abstract class Builder

Builder for creating an instance of EvSearchOptions.

This builder allows you to set various parameters for the EV search options, including geo-bias, radius and more. It provides a method to build options for geo-biased EV search.

Inheritors

Properties

Link copied to clipboard

The list of AccessTypes used to restrict the results to the charging stations that have at least one of the specified access types. Defaults to a list consisting of only AccessType.Public.

Link copied to clipboard
var chargePointOperators: Set<ChargePointOperator>

The set of ChargePointOperators used to filter the search results to the charging stations that have at least one of the specified CPOs.

Link copied to clipboard

The list of ConnectorTypes used to restrict the results to the stations that have at least one connector of the specified type.

Link copied to clipboard
var eMobilityServiceProviders: Set<EMobilityServiceProvider>

The set of EMobilityServiceProviders used to filter the search results to the charging stations that have at least one of the specified eMSPs.

Link copied to clipboard
var limit: Int

The maximum number of EvSearchResults that will be returned. Defaults to DEFAULT_LIMIT.

Link copied to clipboard

The locale in which search results should be returned.

Link copied to clipboard

The maximum power rate, used to restrict the results to ChargingStations with at least one connector that has a power lesser or equal to this maximum power.

Link copied to clipboard

The minimum power rate, used to restrict the results to ChargingStations with at least one connector that has a power greater or equal to this minimum power.

Link copied to clipboard

The set of StandardCategoryIds used to filter the search results to the charging stations that have at least one of the specified POI categories.

Link copied to clipboard

A flag to filter out the charging stations which are not Plug & Charge capable.

Link copied to clipboard
var preferredChargePointOperators: Set<ChargePointOperator>

The set of ChargePointOperators which the user prefers. If set, it influences the ranking of the results.

Link copied to clipboard
var preferredEMobilityServiceProviders: Set<EMobilityServiceProvider>

The set of EMobilityServiceProviders which the user prefers. If set, it influences the ranking of the results.

The set of EMobilityServiceProviders which the user has subscribed to for Plug & Charge. If set, it influences the ranking of the results.

Link copied to clipboard

The Status to filter out ChargingPoints inside of a ChargingStation. Defaults to Status.Available.