|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FareAccessPref>
org.ota.air.FareAccessPref
public enum FareAccessPref
Fare calculation type (e.g. PointToPoint, Through, Joint, Private) Schema fragment(s) for this class:
<xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FareAccessPrefType"> <xs:restriction base="xs:string"> <xs:enumeration value="PointToPoint"/> <xs:enumeration value="Through"/> <xs:enumeration value="Joint"/> <xs:enumeration value="Private"/> <xs:enumeration value="Negotiated"/> <xs:enumeration value="Net"/> <xs:enumeration value="Historical"/> <xs:enumeration value="SecurateAir"/> <xs:enumeration value="Moneysaver"/> <xs:enumeration value="MoneysaverRoundtrip"/> <xs:enumeration value="MoneysaverNoOneWay"/> <xs:enumeration value="MoneysaverOneWayOnly"/> </xs:restriction> </xs:simpleType>
Enum Constant Summary | |
---|---|
HISTORICAL
To request ATPCO historical fare/rule information. |
|
JOINT
|
|
MONEYSAVER
To request all airline fares for the specified city pair, lowest to highest. |
|
MONEYSAVER_NO_ONE_WAY
All airline fares for the specified city pair but no one way fares. |
|
MONEYSAVER_ONE_WAY_ONLY
Only one-way fares for all airlines for the specified city pair. |
|
MONEYSAVER_ROUNDTRIP
All roundtrip airline fares for the specified city pair including one way fares. |
|
NEGOTIATED
|
|
NET
|
|
POINT_TO_POINT
|
|
PRIVATE
|
|
SECURATE_AIR
To request fares for a specified agreement. |
|
THROUGH
|
Method Summary | |
---|---|
static FareAccessPref |
convert(java.lang.String value)
|
java.lang.String |
toString()
|
static FareAccessPref |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FareAccessPref[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FareAccessPref POINT_TO_POINT
public static final FareAccessPref THROUGH
public static final FareAccessPref JOINT
public static final FareAccessPref PRIVATE
public static final FareAccessPref NEGOTIATED
public static final FareAccessPref NET
public static final FareAccessPref HISTORICAL
public static final FareAccessPref SECURATE_AIR
public static final FareAccessPref MONEYSAVER
public static final FareAccessPref MONEYSAVER_ROUNDTRIP
public static final FareAccessPref MONEYSAVER_NO_ONE_WAY
public static final FareAccessPref MONEYSAVER_ONE_WAY_ONLY
Method Detail |
---|
public static FareAccessPref[] values()
for (FareAccessPref c : FareAccessPref.values()) System.out.println(c);
public static FareAccessPref 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FareAccessPref>
public static FareAccessPref convert(java.lang.String value)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |