org.ota.air
Class FareDisplayRQ.TravelPreferences.FareTypePref

java.lang.Object
  extended by org.ota.air.FareDisplayRQ.TravelPreferences.FareTypePref
Enclosing class:
FareDisplayRQ.TravelPreferences

public static class FareDisplayRQ.TravelPreferences.FareTypePref
extends java.lang.Object

Indicates the type of fare required e.g. unrestricted, excursion etc. 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="FareTypePref" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attributeGroup ref="ns:FareTypePrefGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FareTypePrefGroup">
   <xs:attribute type="xs:string" use="required" name="FareType"/>
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
FareDisplayRQ.TravelPreferences.FareTypePref()
           
 
Method Summary
 java.lang.String getFare()
          Get the 'FareType' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 void setFare(java.lang.String fare)
          Set the 'FareType' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareDisplayRQ.TravelPreferences.FareTypePref

public FareDisplayRQ.TravelPreferences.FareTypePref()
Method Detail

getFare

public java.lang.String getFare()
Get the 'FareType' attribute value. The type of fare required (e.g. unrestricted, excursion). Refer to the Fare Qualifier OpenTravel Code list (FAQ).

Returns:
value

setFare

public void setFare(java.lang.String fare)
Set the 'FareType' attribute value. The type of fare required (e.g. unrestricted, excursion). Refer to the Fare Qualifier OpenTravel Code list (FAQ).

Parameters:
fare -

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for a fare type.

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for a fare type.

Parameters:
preferLevel -