|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RateIndicator>
org.ota.shared.RateIndicator
public enum RateIndicator
An enumerated type indicating special conditions with the rate Valid values: ChangeDuringStay, MultipleNights, Exclusive, OnRequest, LimitedAvailability. 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="RateIndicatorType"> <xs:restriction base="xs:string"> <xs:enumeration value="ChangeDuringStay"/> <xs:enumeration value="MultipleNights"/> <xs:enumeration value="Exclusive"/> <xs:enumeration value="OnRequest"/> <xs:enumeration value="LimitedAvailability"/> <xs:enumeration value="AvailableForSale"/> <xs:enumeration value="ClosedOut"/> <xs:enumeration value="OtherAvailable"/> <xs:enumeration value="UnableToProcess"/> <xs:enumeration value="NoAvailability"/> <xs:enumeration value="RoomTypeClosed"/> <xs:enumeration value="RatePlanClosed"/> <xs:enumeration value="LOS_Restricted"/> <xs:enumeration value="Restricted"/> <xs:enumeration value="DoesNotExist"/> </xs:restriction> </xs:simpleType>
Enum Constant Summary | |
---|---|
AVAILABLE_FOR_SALE
|
|
CHANGE_DURING_STAY
|
|
CLOSED_OUT
|
|
DOES_NOT_EXIST
The rate plan does not exist. |
|
EXCLUSIVE
Availability is limited based on guest qualification criteria e.g. |
|
LIMITED_AVAILABILITY
|
|
LOS_RESTRICTED
|
|
MULTIPLE_NIGHTS
|
|
NO_AVAILABILITY
|
|
ON_REQUEST
|
|
OTHER_AVAILABLE
|
|
RATE_PLAN_CLOSED
|
|
RESTRICTED
Availability is limited based on distribution channel qualification criteria (e.g., Expedia or Sabre). |
|
ROOM_TYPE_CLOSED
|
|
UNABLE_TO_PROCESS
Indicates an issue that precluded the ability to provide the information. |
Method Summary | |
---|---|
static RateIndicator |
convert(java.lang.String value)
|
java.lang.String |
toString()
|
static RateIndicator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RateIndicator[] |
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 RateIndicator CHANGE_DURING_STAY
public static final RateIndicator MULTIPLE_NIGHTS
public static final RateIndicator EXCLUSIVE
public static final RateIndicator ON_REQUEST
public static final RateIndicator LIMITED_AVAILABILITY
public static final RateIndicator AVAILABLE_FOR_SALE
public static final RateIndicator CLOSED_OUT
public static final RateIndicator OTHER_AVAILABLE
public static final RateIndicator UNABLE_TO_PROCESS
public static final RateIndicator NO_AVAILABILITY
public static final RateIndicator ROOM_TYPE_CLOSED
public static final RateIndicator RATE_PLAN_CLOSED
public static final RateIndicator LOS_RESTRICTED
public static final RateIndicator RESTRICTED
public static final RateIndicator DOES_NOT_EXIST
Method Detail |
---|
public static RateIndicator[] values()
for (RateIndicator c : RateIndicator.values()) System.out.println(c);
public static RateIndicator 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<RateIndicator>
public static RateIndicator convert(java.lang.String value)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |