public enum ReservationChargeTypeEnumeration extends Enum<ReservationChargeTypeEnumeration>
Java class for ReservationChargeTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReservationChargeTypeEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="noFee"/>
<enumeration value="fee"/>
<enumeration value="singleFeeForReturnTrip"/>
<enumeration value="feeForEachDirection"/>
<enumeration value="feeForEachLeg"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FEE |
FEE_FOR_EACH_DIRECTION |
FEE_FOR_EACH_LEG |
NO_FEE |
SINGLE_FEE_FOR_RETURN_TRIP |
| Modifier and Type | Method and Description |
|---|---|
static ReservationChargeTypeEnumeration |
fromValue(String v) |
String |
value() |
static ReservationChargeTypeEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReservationChargeTypeEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReservationChargeTypeEnumeration NO_FEE
public static final ReservationChargeTypeEnumeration FEE
public static final ReservationChargeTypeEnumeration SINGLE_FEE_FOR_RETURN_TRIP
public static final ReservationChargeTypeEnumeration FEE_FOR_EACH_DIRECTION
public static final ReservationChargeTypeEnumeration FEE_FOR_EACH_LEG
public static ReservationChargeTypeEnumeration[] values()
for (ReservationChargeTypeEnumeration c : ReservationChargeTypeEnumeration.values()) System.out.println(c);
public static ReservationChargeTypeEnumeration valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ReservationChargeTypeEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.