org.ota.shared
Enum RateIndicator

java.lang.Object
  extended by java.lang.Enum<RateIndicator>
      extended by org.ota.shared.RateIndicator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RateIndicator>

public enum RateIndicator
extends java.lang.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

CHANGE_DURING_STAY

public static final RateIndicator CHANGE_DURING_STAY

MULTIPLE_NIGHTS

public static final RateIndicator MULTIPLE_NIGHTS

EXCLUSIVE

public static final RateIndicator EXCLUSIVE
Availability is limited based on guest qualification criteria e.g. AAA member or Government Employee


ON_REQUEST

public static final RateIndicator ON_REQUEST

LIMITED_AVAILABILITY

public static final RateIndicator LIMITED_AVAILABILITY

AVAILABLE_FOR_SALE

public static final RateIndicator AVAILABLE_FOR_SALE

CLOSED_OUT

public static final RateIndicator CLOSED_OUT

OTHER_AVAILABLE

public static final RateIndicator OTHER_AVAILABLE

UNABLE_TO_PROCESS

public static final RateIndicator UNABLE_TO_PROCESS
Indicates an issue that precluded the ability to provide the information.


NO_AVAILABILITY

public static final RateIndicator NO_AVAILABILITY

ROOM_TYPE_CLOSED

public static final RateIndicator ROOM_TYPE_CLOSED

RATE_PLAN_CLOSED

public static final RateIndicator RATE_PLAN_CLOSED

LOS_RESTRICTED

public static final RateIndicator LOS_RESTRICTED

RESTRICTED

public static final RateIndicator RESTRICTED
Availability is limited based on distribution channel qualification criteria (e.g., Expedia or Sabre).


DOES_NOT_EXIST

public static final RateIndicator DOES_NOT_EXIST
The rate plan does not exist.

Method Detail

values

public static RateIndicator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RateIndicator c : RateIndicator.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RateIndicator valueOf(java.lang.String name)
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.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<RateIndicator>

convert

public static RateIndicator convert(java.lang.String value)