Interface RouteTollRate.Builder

    • Method Detail

      • applicableTimes

        RouteTollRate.Builder applicableTimes​(String applicableTimes)

        Time when the rate is valid.

        Parameters:
        applicableTimes - Time when the rate is valid.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • convertedPrice

        RouteTollRate.Builder convertedPrice​(RouteTollPrice convertedPrice)

        Price in the converted currency as specified in the request.

        Parameters:
        convertedPrice - Price in the converted currency as specified in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        RouteTollRate.Builder id​(String id)

        The Toll rate Id.

        Parameters:
        id - The Toll rate Id.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localPrice

        RouteTollRate.Builder localPrice​(RouteTollPrice localPrice)

        Price in the local regional currency.

        Parameters:
        localPrice - Price in the local regional currency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        RouteTollRate.Builder name​(String name)

        The name of the toll.

        Parameters:
        name - The name of the toll.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pass

        RouteTollRate.Builder pass​(RouteTollPass pass)

        Details if the toll rate can be a pass that supports multiple trips.

        Parameters:
        pass - Details if the toll rate can be a pass that supports multiple trips.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • paymentMethodsWithStrings

        RouteTollRate.Builder paymentMethodsWithStrings​(Collection<String> paymentMethods)

        Accepted payment methods at the toll.

        Parameters:
        paymentMethods - Accepted payment methods at the toll.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • paymentMethodsWithStrings

        RouteTollRate.Builder paymentMethodsWithStrings​(String... paymentMethods)

        Accepted payment methods at the toll.

        Parameters:
        paymentMethods - Accepted payment methods at the toll.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • paymentMethods

        RouteTollRate.Builder paymentMethods​(Collection<RouteTollPaymentMethod> paymentMethods)

        Accepted payment methods at the toll.

        Parameters:
        paymentMethods - Accepted payment methods at the toll.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • paymentMethods

        RouteTollRate.Builder paymentMethods​(RouteTollPaymentMethod... paymentMethods)

        Accepted payment methods at the toll.

        Parameters:
        paymentMethods - Accepted payment methods at the toll.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transponders

        RouteTollRate.Builder transponders​(Collection<RouteTransponder> transponders)

        Transponders for which this toll can be applied.

        Parameters:
        transponders - Transponders for which this toll can be applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transponders

        RouteTollRate.Builder transponders​(RouteTransponder... transponders)

        Transponders for which this toll can be applied.

        Parameters:
        transponders - Transponders for which this toll can be applied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.