org.ota.air
Class SpecificFlightInfo.BookingClassPref

java.lang.Object
  extended by org.ota.air.SpecificFlightInfo.BookingClassPref
Enclosing class:
SpecificFlightInfo

public static class SpecificFlightInfo.BookingClassPref
extends java.lang.Object

Specifies specific booking classes to include and/or exclude in the response. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BookingClassPref" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attributeGroup ref="ns:BookingClassPrefGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="BookingClassPrefGroup">
   <xs:attribute type="xs:string" use="required" name="ResBookDesigCode"/>
   <xs:attributeGroup ref="ns:PreferLevelGroup"/>
   <xs:attribute use="optional" name="ResBookDesigCodeType">
     <xs:simpleType>
       <!-- Reference to inner class ResBookDesigCode -->
     </xs:simpleType>
   </xs:attribute>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class SpecificFlightInfo.BookingClassPref.ResBookDesigCode
          Schema fragment(s) for this class:
 
Constructor Summary
SpecificFlightInfo.BookingClassPref()
           
 
Method Summary
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 java.lang.String getResBookDesigCode()
          Get the 'ResBookDesigCode' attribute value.
 SpecificFlightInfo.BookingClassPref.ResBookDesigCode getResBookDesigCode1()
          Get the 'ResBookDesigCodeType' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setResBookDesigCode(java.lang.String resBookDesigCode)
          Set the 'ResBookDesigCode' attribute value.
 void setResBookDesigCode1(SpecificFlightInfo.BookingClassPref.ResBookDesigCode resBookDesigCode1)
          Set the 'ResBookDesigCodeType' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecificFlightInfo.BookingClassPref

public SpecificFlightInfo.BookingClassPref()
Method Detail

getResBookDesigCode

public java.lang.String getResBookDesigCode()
Get the 'ResBookDesigCode' attribute value. Booking class code

Returns:
value

setResBookDesigCode

public void setResBookDesigCode(java.lang.String resBookDesigCode)
Set the 'ResBookDesigCode' attribute value. Booking class code

Parameters:
resBookDesigCode -

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -

getResBookDesigCode1

public SpecificFlightInfo.BookingClassPref.ResBookDesigCode getResBookDesigCode1()
Get the 'ResBookDesigCodeType' attribute value. To specify the types of RBD's (Res Book Desig Codes) that should be returned as opposed to a specific RBD.

Returns:
value

setResBookDesigCode1

public void setResBookDesigCode1(SpecificFlightInfo.BookingClassPref.ResBookDesigCode resBookDesigCode1)
Set the 'ResBookDesigCodeType' attribute value. To specify the types of RBD's (Res Book Desig Codes) that should be returned as opposed to a specific RBD.

Parameters:
resBookDesigCode1 -