org.ota.air
Class FareDisplayRQ.TravelPreferences

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

public static class FareDisplayRQ.TravelPreferences
extends AirSearchPrefs

Contains travel preference information. 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="TravelPreferences" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:AirSearchPrefsType">
         <xs:sequence>
           <xs:element name="FareApplicationTypePref" minOccurs="0">
             <!-- Reference to inner class FareApplicationTypePref -->
           </xs:element>
           <xs:element name="FareTypePref" minOccurs="0" maxOccurs="5">
             <!-- Reference to inner class FareTypePref -->
           </xs:element>
           <xs:element name="FareAccessTypePref" minOccurs="0" maxOccurs="5">
             <!-- Reference to inner class FareAccessTypePref -->
           </xs:element>
           <xs:element name="BookingClassPref" minOccurs="0" maxOccurs="5">
             <!-- Reference to inner class BookingClassPref -->
           </xs:element>
           <xs:element name="PricingPrefs" minOccurs="0">
             <!-- Reference to inner class PricingPrefs -->
           </xs:element>
           <xs:element name="GlobalIndicatorPref" minOccurs="0" maxOccurs="5">
             <!-- Reference to inner class GlobalIndicatorPref -->
           </xs:element>
         </xs:sequence>
         <xs:attribute type="xs:boolean" use="optional" name="DistributorInfoInd"/>
         <xs:attribute type="xs:string" use="optional" name="TicketDesignatorCode"/>
         <xs:attribute type="xs:string" use="optional" name="HistoricalFareInfoDate"/>
         <xs:attribute type="xs:boolean" use="optional" name="ReqFareLoadDateInd"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FareDisplayRQ.TravelPreferences.BookingClassPref
          Booking Classes (RBD's) to include or exclude) Schema fragment(s) for this class:
static class FareDisplayRQ.TravelPreferences.FareAccessTypePref
          Indicates the fare calculation type e.g.
static class FareDisplayRQ.TravelPreferences.FareApplicationTypePref
          Indicates the journey type for which fares are required e.g.
static class FareDisplayRQ.TravelPreferences.FareTypePref
          Indicates the type of fare required e.g.
static class FareDisplayRQ.TravelPreferences.GlobalIndicatorPref
          Specify global direction preferences (e.g.
static class FareDisplayRQ.TravelPreferences.PricingPrefs
          Specify whether prices returned should include Taxes, ServicesFees Schema fragment(s) for this class:
 
Nested classes/interfaces inherited from class org.ota.air.AirSearchPrefs
AirSearchPrefs.CabinPref, AirSearchPrefs.FareRestrictPref, AirSearchPrefs.TicketDistribPref, AirSearchPrefs.VendorPref
 
Constructor Summary
FareDisplayRQ.TravelPreferences()
           
 
Method Summary
 void addBookingClassPref(FareDisplayRQ.TravelPreferences.BookingClassPref item)
          Add a 'BookingClassPref' element item.
 void addFareAccessTypePref(FareDisplayRQ.TravelPreferences.FareAccessTypePref item)
          Add a 'FareAccessTypePref' element item.
 void addFareTypePref(FareDisplayRQ.TravelPreferences.FareTypePref item)
          Add a 'FareTypePref' element item.
 void addGlobalIndicatorPref(FareDisplayRQ.TravelPreferences.GlobalIndicatorPref item)
          Add a 'GlobalIndicatorPref' element item.
 void clearBookingClassPrefs()
          Remove all 'BookingClassPref' element items.
 void clearFareAccessTypePrefs()
          Remove all 'FareAccessTypePref' element items.
 void clearFareTypePrefs()
          Remove all 'FareTypePref' element items.
 void clearGlobalIndicatorPrefs()
          Remove all 'GlobalIndicatorPref' element items.
 FareDisplayRQ.TravelPreferences.BookingClassPref getBookingClassPref(int index)
          Get 'BookingClassPref' element item by position.
 java.util.List<FareDisplayRQ.TravelPreferences.BookingClassPref> getBookingClassPrefs()
          Get the list of 'BookingClassPref' element items.
 java.lang.Boolean getDistributorInfoInd()
          Get the 'DistributorInfoInd' attribute value.
 FareDisplayRQ.TravelPreferences.FareAccessTypePref getFareAccessTypePref(int index)
          Get 'FareAccessTypePref' element item by position.
 java.util.List<FareDisplayRQ.TravelPreferences.FareAccessTypePref> getFareAccessTypePrefs()
          Get the list of 'FareAccessTypePref' element items.
 FareDisplayRQ.TravelPreferences.FareApplicationTypePref getFareApplicationTypePref()
          Get the 'FareApplicationTypePref' element value.
 FareDisplayRQ.TravelPreferences.FareTypePref getFareTypePref(int index)
          Get 'FareTypePref' element item by position.
 java.util.List<FareDisplayRQ.TravelPreferences.FareTypePref> getFareTypePrefs()
          Get the list of 'FareTypePref' element items.
 FareDisplayRQ.TravelPreferences.GlobalIndicatorPref getGlobalIndicatorPref(int index)
          Get 'GlobalIndicatorPref' element item by position.
 java.util.List<FareDisplayRQ.TravelPreferences.GlobalIndicatorPref> getGlobalIndicatorPrefs()
          Get the list of 'GlobalIndicatorPref' element items.
 java.lang.String getHistoricalFareInfoDate()
          Get the 'HistoricalFareInfoDate' attribute value.
 FareDisplayRQ.TravelPreferences.PricingPrefs getPricingPrefs()
          Get the 'PricingPrefs' element value.
 java.lang.Boolean getReqFareLoadDateInd()
          Get the 'ReqFareLoadDateInd' attribute value.
 java.lang.String getTicketDesignatorCode()
          Get the 'TicketDesignatorCode' attribute value.
 void setBookingClassPrefs(java.util.List<FareDisplayRQ.TravelPreferences.BookingClassPref> list)
          Set the list of 'BookingClassPref' element items.
 void setDistributorInfoInd(java.lang.Boolean distributorInfoInd)
          Set the 'DistributorInfoInd' attribute value.
 void setFareAccessTypePrefs(java.util.List<FareDisplayRQ.TravelPreferences.FareAccessTypePref> list)
          Set the list of 'FareAccessTypePref' element items.
 void setFareApplicationTypePref(FareDisplayRQ.TravelPreferences.FareApplicationTypePref fareApplicationTypePref)
          Set the 'FareApplicationTypePref' element value.
 void setFareTypePrefs(java.util.List<FareDisplayRQ.TravelPreferences.FareTypePref> list)
          Set the list of 'FareTypePref' element items.
 void setGlobalIndicatorPrefs(java.util.List<FareDisplayRQ.TravelPreferences.GlobalIndicatorPref> list)
          Set the list of 'GlobalIndicatorPref' element items.
 void setHistoricalFareInfoDate(java.lang.String historicalFareInfoDate)
          Set the 'HistoricalFareInfoDate' attribute value.
 void setPricingPrefs(FareDisplayRQ.TravelPreferences.PricingPrefs pricingPrefs)
          Set the 'PricingPrefs' element value.
 void setReqFareLoadDateInd(java.lang.Boolean reqFareLoadDateInd)
          Set the 'ReqFareLoadDateInd' attribute value.
 void setTicketDesignatorCode(java.lang.String ticketDesignatorCode)
          Set the 'TicketDesignatorCode' attribute value.
 int sizeBookingClassPrefs()
          Get the number of 'BookingClassPref' element items.
 int sizeFareAccessTypePrefs()
          Get the number of 'FareAccessTypePref' element items.
 int sizeFareTypePrefs()
          Get the number of 'FareTypePref' element items.
 int sizeGlobalIndicatorPrefs()
          Get the number of 'GlobalIndicatorPref' element items.
 
Methods inherited from class org.ota.air.AirSearchPrefs
addCabinPref, addEquipPref, addFareRestrictPref, addFlightTypePref, addTicketDistribPref, addVendorPref, clearCabinPrefs, clearEquipPrefs, clearFareRestrictPrefs, clearFlightTypePrefs, clearTicketDistribPrefs, clearVendorPrefs, getCabinPref, getCabinPrefs, getDateTimeSpanGroup, getEquipPref, getEquipPrefs, getETicketDesired, getFareRestrictPref, getFareRestrictPrefs, getFlightTypePref, getFlightTypePrefs, getMaxStopsQuantity, getOnTimeRate, getSmokingAllowed, getTicketDistribPref, getTicketDistribPrefs, getVendorPref, getVendorPrefs, setCabinPrefs, setDateTimeSpanGroup, setEquipPrefs, setETicketDesired, setFareRestrictPrefs, setFlightTypePrefs, setMaxStopsQuantity, setOnTimeRate, setSmokingAllowed, setTicketDistribPrefs, setVendorPrefs, sizeCabinPrefs, sizeEquipPrefs, sizeFareRestrictPrefs, sizeFlightTypePrefs, sizeTicketDistribPrefs, sizeVendorPrefs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareDisplayRQ.TravelPreferences

public FareDisplayRQ.TravelPreferences()
Method Detail

getFareApplicationTypePref

public FareDisplayRQ.TravelPreferences.FareApplicationTypePref getFareApplicationTypePref()
Get the 'FareApplicationTypePref' element value.

Returns:
value

setFareApplicationTypePref

public void setFareApplicationTypePref(FareDisplayRQ.TravelPreferences.FareApplicationTypePref fareApplicationTypePref)
Set the 'FareApplicationTypePref' element value.

Parameters:
fareApplicationTypePref -

getFareTypePrefs

public java.util.List<FareDisplayRQ.TravelPreferences.FareTypePref> getFareTypePrefs()
Get the list of 'FareTypePref' element items.

Returns:
list

setFareTypePrefs

public void setFareTypePrefs(java.util.List<FareDisplayRQ.TravelPreferences.FareTypePref> list)
Set the list of 'FareTypePref' element items.

Parameters:
list -

sizeFareTypePrefs

public int sizeFareTypePrefs()
Get the number of 'FareTypePref' element items.

Returns:
count

addFareTypePref

public void addFareTypePref(FareDisplayRQ.TravelPreferences.FareTypePref item)
Add a 'FareTypePref' element item.

Parameters:
item -

getFareTypePref

public FareDisplayRQ.TravelPreferences.FareTypePref getFareTypePref(int index)
Get 'FareTypePref' element item by position.

Parameters:
index -
Returns:
item

clearFareTypePrefs

public void clearFareTypePrefs()
Remove all 'FareTypePref' element items.


getFareAccessTypePrefs

public java.util.List<FareDisplayRQ.TravelPreferences.FareAccessTypePref> getFareAccessTypePrefs()
Get the list of 'FareAccessTypePref' element items.

Returns:
list

setFareAccessTypePrefs

public void setFareAccessTypePrefs(java.util.List<FareDisplayRQ.TravelPreferences.FareAccessTypePref> list)
Set the list of 'FareAccessTypePref' element items.

Parameters:
list -

sizeFareAccessTypePrefs

public int sizeFareAccessTypePrefs()
Get the number of 'FareAccessTypePref' element items.

Returns:
count

addFareAccessTypePref

public void addFareAccessTypePref(FareDisplayRQ.TravelPreferences.FareAccessTypePref item)
Add a 'FareAccessTypePref' element item.

Parameters:
item -

getFareAccessTypePref

public FareDisplayRQ.TravelPreferences.FareAccessTypePref getFareAccessTypePref(int index)
Get 'FareAccessTypePref' element item by position.

Parameters:
index -
Returns:
item

clearFareAccessTypePrefs

public void clearFareAccessTypePrefs()
Remove all 'FareAccessTypePref' element items.


getBookingClassPrefs

public java.util.List<FareDisplayRQ.TravelPreferences.BookingClassPref> getBookingClassPrefs()
Get the list of 'BookingClassPref' element items.

Returns:
list

setBookingClassPrefs

public void setBookingClassPrefs(java.util.List<FareDisplayRQ.TravelPreferences.BookingClassPref> list)
Set the list of 'BookingClassPref' element items.

Parameters:
list -

sizeBookingClassPrefs

public int sizeBookingClassPrefs()
Get the number of 'BookingClassPref' element items.

Returns:
count

addBookingClassPref

public void addBookingClassPref(FareDisplayRQ.TravelPreferences.BookingClassPref item)
Add a 'BookingClassPref' element item.

Parameters:
item -

getBookingClassPref

public FareDisplayRQ.TravelPreferences.BookingClassPref getBookingClassPref(int index)
Get 'BookingClassPref' element item by position.

Parameters:
index -
Returns:
item

clearBookingClassPrefs

public void clearBookingClassPrefs()
Remove all 'BookingClassPref' element items.


getPricingPrefs

public FareDisplayRQ.TravelPreferences.PricingPrefs getPricingPrefs()
Get the 'PricingPrefs' element value.

Returns:
value

setPricingPrefs

public void setPricingPrefs(FareDisplayRQ.TravelPreferences.PricingPrefs pricingPrefs)
Set the 'PricingPrefs' element value.

Parameters:
pricingPrefs -

getGlobalIndicatorPrefs

public java.util.List<FareDisplayRQ.TravelPreferences.GlobalIndicatorPref> getGlobalIndicatorPrefs()
Get the list of 'GlobalIndicatorPref' element items.

Returns:
list

setGlobalIndicatorPrefs

public void setGlobalIndicatorPrefs(java.util.List<FareDisplayRQ.TravelPreferences.GlobalIndicatorPref> list)
Set the list of 'GlobalIndicatorPref' element items.

Parameters:
list -

sizeGlobalIndicatorPrefs

public int sizeGlobalIndicatorPrefs()
Get the number of 'GlobalIndicatorPref' element items.

Returns:
count

addGlobalIndicatorPref

public void addGlobalIndicatorPref(FareDisplayRQ.TravelPreferences.GlobalIndicatorPref item)
Add a 'GlobalIndicatorPref' element item.

Parameters:
item -

getGlobalIndicatorPref

public FareDisplayRQ.TravelPreferences.GlobalIndicatorPref getGlobalIndicatorPref(int index)
Get 'GlobalIndicatorPref' element item by position.

Parameters:
index -
Returns:
item

clearGlobalIndicatorPrefs

public void clearGlobalIndicatorPrefs()
Remove all 'GlobalIndicatorPref' element items.


getDistributorInfoInd

public java.lang.Boolean getDistributorInfoInd()
Get the 'DistributorInfoInd' attribute value. If true, the distributor information should be returned with the fare.

Returns:
value

setDistributorInfoInd

public void setDistributorInfoInd(java.lang.Boolean distributorInfoInd)
Set the 'DistributorInfoInd' attribute value. If true, the distributor information should be returned with the fare.

Parameters:
distributorInfoInd -

getTicketDesignatorCode

public java.lang.String getTicketDesignatorCode()
Get the 'TicketDesignatorCode' attribute value. Specifies that the fare being requested is for this ticket designator code.

Returns:
value

setTicketDesignatorCode

public void setTicketDesignatorCode(java.lang.String ticketDesignatorCode)
Set the 'TicketDesignatorCode' attribute value. Specifies that the fare being requested is for this ticket designator code.

Parameters:
ticketDesignatorCode -

getHistoricalFareInfoDate

public java.lang.String getHistoricalFareInfoDate()
Get the 'HistoricalFareInfoDate' attribute value. If the fare request is for a previously issued ticket, this is the date on which it was issued.

Returns:
value

setHistoricalFareInfoDate

public void setHistoricalFareInfoDate(java.lang.String historicalFareInfoDate)
Set the 'HistoricalFareInfoDate' attribute value. If the fare request is for a previously issued ticket, this is the date on which it was issued.

Parameters:
historicalFareInfoDate -

getReqFareLoadDateInd

public java.lang.Boolean getReqFareLoadDateInd()
Get the 'ReqFareLoadDateInd' attribute value. If true, the fare load date information is being requested.

Returns:
value

setReqFareLoadDateInd

public void setReqFareLoadDateInd(java.lang.Boolean reqFareLoadDateInd)
Set the 'ReqFareLoadDateInd' attribute value. If true, the fare load date information is being requested.

Parameters:
reqFareLoadDateInd -