RouteType

public enum RouteType extends Enum<RailAllOf.RouteType>

The type of route or itinerary for the Rail product, indicating the travel arrangement and pattern. Possible values are: - MULTIPLE_DESTINATIONS - The Rail product includes multiple destinations in its itinerary. - ONE_WAY - The Rail product represents a one-way journey. - ROUNDTRIP - The Rail product represents a roundtrip journey. Values: MULTIPLE_DESTINATIONS,ONE_WAY,ROUND_TRIP

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
private final String value

Functions

Link copied to clipboard

The type of route or itinerary for the Rail product, indicating the travel arrangement and pattern. Possible values are: - MULTIPLE_DESTINATIONS - The Rail product includes multiple destinations in its itinerary. - ONE_WAY - The Rail product represents a one-way journey. - ROUNDTRIP - The Rail product represents a roundtrip journey. Values: MULTIPLE_DESTINATIONS,ONE_WAY,ROUND_TRIP

Link copied to clipboard
public final String getValue()
Link copied to clipboard
public final RailAllOf.RouteType valueOf(String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.