Interface RouteTollOptions.Builder

    • Method Detail

      • allTransponders

        RouteTollOptions.Builder allTransponders​(Boolean allTransponders)

        Specifies if the user has valid transponder with access to all toll systems. This impacts toll calculation, and if true the price with transponders is used.

        Parameters:
        allTransponders - Specifies if the user has valid transponder with access to all toll systems. This impacts toll calculation, and if true the price with transponders is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allVignettes

        RouteTollOptions.Builder allVignettes​(Boolean allVignettes)

        Specifies if the user has valid vignettes with access for all toll roads. If a user has a vignette for a toll road, then toll cost for that road is omitted since no further payment is necessary.

        Parameters:
        allVignettes - Specifies if the user has valid vignettes with access for all toll roads. If a user has a vignette for a toll road, then toll cost for that road is omitted since no further payment is necessary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currency

        RouteTollOptions.Builder currency​(String currency)

        Currency code corresponding to the price. This is the same as Currency specified in the request.

        Parameters:
        currency - Currency code corresponding to the price. This is the same as Currency specified in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • emissionType

        RouteTollOptions.Builder emissionType​(RouteEmissionType emissionType)

        Emission type of the vehicle for toll cost calculation.

        Valid values: Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev

        Parameters:
        emissionType - Emission type of the vehicle for toll cost calculation.

        Valid values: Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev

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