Interface RouteToll.Builder

    • Method Detail

      • country

        RouteToll.Builder country​(String country)

        The alpha-2 or alpha-3 character code for the country.

        Parameters:
        country - The alpha-2 or alpha-3 character code for the country.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • paymentSites

        RouteToll.Builder paymentSites​(Collection<RouteTollPaymentSite> paymentSites)

        Locations or sites where the toll fare is collected.

        Parameters:
        paymentSites - Locations or sites where the toll fare is collected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • paymentSites

        RouteToll.Builder paymentSites​(RouteTollPaymentSite... paymentSites)

        Locations or sites where the toll fare is collected.

        Parameters:
        paymentSites - Locations or sites where the toll fare is collected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rates

        RouteToll.Builder rates​(Collection<RouteTollRate> rates)

        Toll rates that need to be paid to travel this leg of the route.

        Parameters:
        rates - Toll rates that need to be paid to travel this leg of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rates

        RouteToll.Builder rates​(RouteTollRate... rates)

        Toll rates that need to be paid to travel this leg of the route.

        Parameters:
        rates - Toll rates that need to be paid to travel this leg of the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • systems

        RouteToll.Builder systems​(Collection<Integer> systems)

        Toll systems are authorities that collect payments for the toll.

        Parameters:
        systems - Toll systems are authorities that collect payments for the toll.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • systems

        RouteToll.Builder systems​(Integer... systems)

        Toll systems are authorities that collect payments for the toll.

        Parameters:
        systems - Toll systems are authorities that collect payments for the toll.
        Returns:
        Returns a reference to this object so that method calls can be chained together.