Interface IsolineScooterOptions.Builder

  • Method Details

    • engineType

      IsolineScooterOptions.Builder engineType(String engineType)

      The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.

      • INTERNAL_COMBUSTION—Standard gasoline or diesel engine.

      • ELECTRIC—Battery electric vehicle.

      • PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.

      Parameters:
      engineType - The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.

      • INTERNAL_COMBUSTION—Standard gasoline or diesel engine.

      • ELECTRIC—Battery electric vehicle.

      • PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • engineType

      The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.

      • INTERNAL_COMBUSTION—Standard gasoline or diesel engine.

      • ELECTRIC—Battery electric vehicle.

      • PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.

      Parameters:
      engineType - The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.

      • INTERNAL_COMBUSTION—Standard gasoline or diesel engine.

      • ELECTRIC—Battery electric vehicle.

      • PLUGIN_HYBRID—Combination of electric and internal combustion engines with plug-in charging capability.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • licensePlate

      License plate information used in regions where road access or routing restrictions are based on license plate numbers.

      Parameters:
      licensePlate - License plate information used in regions where road access or routing restrictions are based on license plate numbers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • licensePlate

      License plate information used in regions where road access or routing restrictions are based on license plate numbers.

      This is a convenience method that creates an instance of the IsolineVehicleLicensePlate.Builder avoiding the need to create one manually via IsolineVehicleLicensePlate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to licensePlate(IsolineVehicleLicensePlate).

      Parameters:
      licensePlate - a consumer that will call methods on IsolineVehicleLicensePlate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxSpeed

      The maximum speed of the vehicle in kilometers per hour. When specified, routes will not include roads with higher speed limits. Valid values range from 3.6 km/h (1 m/s) to 252 km/h (70 m/s).

      Unit: kilometers per hour

      Parameters:
      maxSpeed - The maximum speed of the vehicle in kilometers per hour. When specified, routes will not include roads with higher speed limits. Valid values range from 3.6 km/h (1 m/s) to 252 km/h (70 m/s).

      Unit: kilometers per hour

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • occupancy

      IsolineScooterOptions.Builder occupancy(Integer occupancy)

      The number of occupants in the vehicle. This can affect route calculations by enabling the use of high-occupancy vehicle (HOV) lanes where minimum occupancy requirements are met.

      Default value: 1

      Parameters:
      occupancy - The number of occupants in the vehicle. This can affect route calculations by enabling the use of high-occupancy vehicle (HOV) lanes where minimum occupancy requirements are met.

      Default value: 1

      Returns:
      Returns a reference to this object so that method calls can be chained together.