FarePassValidityPeriodType (API Reference)
Package com.here.sdk.routing
Enum Class FarePassValidityPeriodType
- All Implemented Interfaces:
Serializable,Comparable<FarePassValidityPeriodType>,Constable
Specifies validity periods.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPass is valid from Jan 1 to Dec 31Pass is valid for a specified number of days.Pass is valid from Jan 1 to Jan 31 of the following year.Pass is valid for a specified number of minutes.Pass is valid for a specified number of months. -
Method Summary
Modifier and TypeMethodDescriptionstatic FarePassValidityPeriodTypeReturns the enum constant of this class with the specified name.static FarePassValidityPeriodType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANNUAL
Pass is valid from Jan 1 to Dec 31
-
EXTENDED_ANNUAL
Pass is valid from Jan 1 to Jan 31 of the following year.
-
MINUTES
Pass is valid for a specified number of minutes.
-
DAYS
Pass is valid for a specified number of days.
-
MONTHS
Pass is valid for a specified number of months.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-