public enum GroundTransportType extends java.lang.Enum<GroundTransportType> implements LineItemTypeDescription
| Enum Constant and Description |
|---|
Bus |
CarPooling |
CarRental |
Ferry |
InternationalBus |
InternationalTrain |
MetroBus |
MetroTrain |
NationalBus |
NationalTrain |
PrivateCarRental |
RideSharing |
ShuttleBus |
Standard |
Taxi |
Train |
TramOrLightRail |
WaterTaxi |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
code() |
java.lang.String |
description() |
static GroundTransportType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroundTransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroundTransportType Standard
public static final GroundTransportType Taxi
public static final GroundTransportType WaterTaxi
public static final GroundTransportType RideSharing
public static final GroundTransportType CarPooling
public static final GroundTransportType CarRental
public static final GroundTransportType PrivateCarRental
public static final GroundTransportType Train
public static final GroundTransportType MetroTrain
public static final GroundTransportType NationalTrain
public static final GroundTransportType InternationalTrain
public static final GroundTransportType TramOrLightRail
public static final GroundTransportType Bus
public static final GroundTransportType ShuttleBus
public static final GroundTransportType MetroBus
public static final GroundTransportType NationalBus
public static final GroundTransportType InternationalBus
public static final GroundTransportType Ferry
public static GroundTransportType[] values()
for (GroundTransportType c : GroundTransportType.values()) System.out.println(c);
public static GroundTransportType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String code()
code in interface LineItemTypeDescriptionpublic java.lang.String description()
description in interface LineItemTypeDescription