Enum Class TollOptions.VehicleCategory

java.lang.Object
java.lang.Enum<TollOptions.VehicleCategory>
com.here.sdk.routing.TollOptions.VehicleCategory
All Implemented Interfaces:
Serializable, Comparable<TollOptions.VehicleCategory>, Constable
Enclosing class:
TollOptions

public static enum TollOptions.VehicleCategory extends Enum<TollOptions.VehicleCategory>

Supported options of vehicle category for toll calculation.

  • Enum Constant Details

    • MINIBUS

      public static final TollOptions.VehicleCategory MINIBUS

      Commercial buses with a seating capacity of 16-25 passengers or small bus that is used to transport a maximum of 15 passengers.

  • Method Details

    • values

      public static TollOptions.VehicleCategory[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TollOptions.VehicleCategory valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null