org.ota.air
Class AirSearchPrefs.FareRestrictPref

java.lang.Object
  extended by org.ota.air.AirSearchPrefs.FareRestrictPref
Enclosing class:
AirSearchPrefs

public static class AirSearchPrefs.FareRestrictPref
extends java.lang.Object

Constrains a fare search to those with restrictions that satisfy user-imposed limitations. 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="FareRestrictPref" minOccurs="0" maxOccurs="4">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:AdvResTicketingType" name="AdvResTicketing" minOccurs="0"/>
       <xs:element type="ns:StayRestrictionsType" name="StayRestrictions" minOccurs="0"/>
       <xs:element type="ns:VoluntaryChangesType" name="VoluntaryChanges" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:FareRestrictPrefGroup"/>
     <xs:attribute type="xs:string" use="optional" name="FareDisplayCurrency"/>
     <xs:attribute type="xs:string" use="optional" name="CurrencyOverride"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AirSearchPrefs.FareRestrictPref()
           
 
Method Summary
 AdvResTicketing getAdvResTicketing()
          Get the 'AdvResTicketing' element value.
 java.lang.String getCurrencyOverride()
          Get the 'CurrencyOverride' attribute value.
 java.lang.String getFareDisplayCurrency()
          Get the 'FareDisplayCurrency' attribute value.
 FareRestrictPrefGroup getFareRestrictPrefGroup()
          Get the 'FareRestrictPrefGroup' attributeGroup value.
 StayRestrictions getStayRestrictions()
          Get the 'StayRestrictions' element value.
 VoluntaryChanges getVoluntaryChanges()
          Get the 'VoluntaryChanges' element value.
 void setAdvResTicketing(AdvResTicketing advResTicketing)
          Set the 'AdvResTicketing' element value.
 void setCurrencyOverride(java.lang.String currencyOverride)
          Set the 'CurrencyOverride' attribute value.
 void setFareDisplayCurrency(java.lang.String fareDisplayCurrency)
          Set the 'FareDisplayCurrency' attribute value.
 void setFareRestrictPrefGroup(FareRestrictPrefGroup fareRestrictPrefGroup)
          Set the 'FareRestrictPrefGroup' attributeGroup value.
 void setStayRestrictions(StayRestrictions stayRestrictions)
          Set the 'StayRestrictions' element value.
 void setVoluntaryChanges(VoluntaryChanges voluntaryChanges)
          Set the 'VoluntaryChanges' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirSearchPrefs.FareRestrictPref

public AirSearchPrefs.FareRestrictPref()
Method Detail

getAdvResTicketing

public AdvResTicketing getAdvResTicketing()
Get the 'AdvResTicketing' element value. Identifies whether advance reservation or ticketing restrictions are acceptable in the search results

Returns:
value

setAdvResTicketing

public void setAdvResTicketing(AdvResTicketing advResTicketing)
Set the 'AdvResTicketing' element value. Identifies whether advance reservation or ticketing restrictions are acceptable in the search results

Parameters:
advResTicketing -

getStayRestrictions

public StayRestrictions getStayRestrictions()
Get the 'StayRestrictions' element value. Identifies whether restrictions on minimum or maximum stays should be included in the search results

Returns:
value

setStayRestrictions

public void setStayRestrictions(StayRestrictions stayRestrictions)
Set the 'StayRestrictions' element value. Identifies whether restrictions on minimum or maximum stays should be included in the search results

Parameters:
stayRestrictions -

getVoluntaryChanges

public VoluntaryChanges getVoluntaryChanges()
Get the 'VoluntaryChanges' element value. Identifies whether penalties associated with voluntary changes should be included in the search results

Returns:
value

setVoluntaryChanges

public void setVoluntaryChanges(VoluntaryChanges voluntaryChanges)
Set the 'VoluntaryChanges' element value. Identifies whether penalties associated with voluntary changes should be included in the search results

Parameters:
voluntaryChanges -

getFareRestrictPrefGroup

public FareRestrictPrefGroup getFareRestrictPrefGroup()
Get the 'FareRestrictPrefGroup' attributeGroup value.

Returns:
value

setFareRestrictPrefGroup

public void setFareRestrictPrefGroup(FareRestrictPrefGroup fareRestrictPrefGroup)
Set the 'FareRestrictPrefGroup' attributeGroup value.

Parameters:
fareRestrictPrefGroup -

getFareDisplayCurrency

public java.lang.String getFareDisplayCurrency()
Get the 'FareDisplayCurrency' attribute value. Currency in which fare display is requested

Returns:
value

setFareDisplayCurrency

public void setFareDisplayCurrency(java.lang.String fareDisplayCurrency)
Set the 'FareDisplayCurrency' attribute value. Currency in which fare display is requested

Parameters:
fareDisplayCurrency -

getCurrencyOverride

public java.lang.String getCurrencyOverride()
Get the 'CurrencyOverride' attribute value. Display fare published in other than local selling currency only.

Returns:
value

setCurrencyOverride

public void setCurrencyOverride(java.lang.String currencyOverride)
Set the 'CurrencyOverride' attribute value. Display fare published in other than local selling currency only.

Parameters:
currencyOverride -