org.ota.air
Class LowFareSearchRQ

java.lang.Object
  extended by org.ota.air.LowFareSearchRQ

public class LowFareSearchRQ
extends java.lang.Object

The Low Fare Search Request message requests priced itinerary options for flights between specific city pairs on specific dates for specific numbers and types of passengers. Optional request information can include: - Time / Time Window - Connecting cities. - Client Preferences (airlines, cabin, flight types etc.) The Low Fare Search request contains similar information to a Low Fare Search entry on an airline CRS or GDS. 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="OTA_AirLowFareSearchRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="ProcessingInfo" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:AirProcessingInfoGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="OriginDestinationInformation" maxOccurs="10">
         <!-- Reference to inner class OriginDestinationInformation -->
       </xs:element>
       <xs:element type="ns:SpecificFlightInfoType" name="SpecificFlightInfo" minOccurs="0"/>
       <xs:element name="TravelPreferences" minOccurs="0" maxOccurs="10">
         <!-- Reference to inner class TravelPreferences -->
       </xs:element>
       <xs:element name="TravelerInfoSummary">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:TravelerInfoSummaryType">
               <xs:attribute type="xs:string" use="optional" name="TicketingCountryCode"/>
               <xs:attribute type="xs:boolean" use="optional" name="SpecificPTC_Indicator"/>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:MaxResponsesGroup"/>
     <xs:attribute type="xs:boolean" use="optional" name="DirectFlightsOnly"/>
     <xs:attribute type="xs:boolean" use="optional" name="AvailableFlightsOnly"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MaxResponsesGroup">
   <xs:attribute type="xs:string" use="optional" name="MaxResponses"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class LowFareSearchRQ.OriginDestinationInformation
          Origin and Destination location, and time information for the Air Low Fare Search request.
static class LowFareSearchRQ.TravelPreferences
          Air Low Fare Search Request preference information.
 
Constructor Summary
LowFareSearchRQ()
           
 
Method Summary
 void addOriginDestinationInformation(LowFareSearchRQ.OriginDestinationInformation item)
          Add a 'OriginDestinationInformation' element item.
 void addTravelPreference(LowFareSearchRQ.TravelPreferences item)
          Add a 'TravelPreferences' element item.
 void clearOriginDestinationInformations()
          Remove all 'OriginDestinationInformation' element items.
 void clearTravelPreferences()
          Remove all 'TravelPreferences' element items.
 java.lang.Boolean getAvailableFlightsOnly()
          Get the 'AvailableFlightsOnly' attribute value.
 java.lang.Boolean getDirectFlightsOnly()
          Get the 'DirectFlightsOnly' attribute value.
 java.lang.String getMaxResponses()
          Get the 'MaxResponses' attribute value.
 LowFareSearchRQ.OriginDestinationInformation getOriginDestinationInformation(int index)
          Get 'OriginDestinationInformation' element item by position.
 java.util.List<LowFareSearchRQ.OriginDestinationInformation> getOriginDestinationInformations()
          Get the list of 'OriginDestinationInformation' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 AirProcessingInfoGroup getProcessingInfo()
          Get the 'AirProcessingInfoGroup' attributeGroup value.
 SpecificFlightInfo getSpecificFlightInfo()
          Get the 'SpecificFlightInfo' element value.
 java.lang.Boolean getTravelerInfoSummarySpecificPTCIndicator()
          Get the 'SpecificPTC_Indicator' attribute value.
 java.lang.String getTravelerInfoSummaryTicketingCountryCode()
          Get the 'TicketingCountryCode' attribute value.
 TravelerInfoSummary getTravelerInfoSummaryTravelerInfoSummary()
          Get the extension value.
 LowFareSearchRQ.TravelPreferences getTravelPreference(int index)
          Get 'TravelPreferences' element item by position.
 java.util.List<LowFareSearchRQ.TravelPreferences> getTravelPreferences()
          Get the list of 'TravelPreferences' element items.
 void setAvailableFlightsOnly(java.lang.Boolean availableFlightsOnly)
          Set the 'AvailableFlightsOnly' attribute value.
 void setDirectFlightsOnly(java.lang.Boolean directFlightsOnly)
          Set the 'DirectFlightsOnly' attribute value.
 void setMaxResponses(java.lang.String maxResponses)
          Set the 'MaxResponses' attribute value.
 void setOriginDestinationInformations(java.util.List<LowFareSearchRQ.OriginDestinationInformation> list)
          Set the list of 'OriginDestinationInformation' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setProcessingInfo(AirProcessingInfoGroup processingInfo)
          Set the 'AirProcessingInfoGroup' attributeGroup value.
 void setSpecificFlightInfo(SpecificFlightInfo specificFlightInfo)
          Set the 'SpecificFlightInfo' element value.
 void setTravelerInfoSummarySpecificPTCIndicator(java.lang.Boolean travelerInfoSummarySpecificPTCIndicator)
          Set the 'SpecificPTC_Indicator' attribute value.
 void setTravelerInfoSummaryTicketingCountryCode(java.lang.String travelerInfoSummaryTicketingCountryCode)
          Set the 'TicketingCountryCode' attribute value.
 void setTravelerInfoSummaryTravelerInfoSummary(TravelerInfoSummary travelerInfoSummaryTravelerInfoSummary)
          Set the extension value.
 void setTravelPreferences(java.util.List<LowFareSearchRQ.TravelPreferences> list)
          Set the list of 'TravelPreferences' element items.
 int sizeOriginDestinationInformations()
          Get the number of 'OriginDestinationInformation' element items.
 int sizeTravelPreferences()
          Get the number of 'TravelPreferences' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowFareSearchRQ

public LowFareSearchRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getProcessingInfo

public AirProcessingInfoGroup getProcessingInfo()
Get the 'AirProcessingInfoGroup' attributeGroup value. A collection of information that specifies how the message processing should occur or how the data should be returned.

Returns:
value

setProcessingInfo

public void setProcessingInfo(AirProcessingInfoGroup processingInfo)
Set the 'AirProcessingInfoGroup' attributeGroup value. A collection of information that specifies how the message processing should occur or how the data should be returned.

Parameters:
processingInfo -

getOriginDestinationInformations

public java.util.List<LowFareSearchRQ.OriginDestinationInformation> getOriginDestinationInformations()
Get the list of 'OriginDestinationInformation' element items.

Returns:
list

setOriginDestinationInformations

public void setOriginDestinationInformations(java.util.List<LowFareSearchRQ.OriginDestinationInformation> list)
Set the list of 'OriginDestinationInformation' element items.

Parameters:
list -

sizeOriginDestinationInformations

public int sizeOriginDestinationInformations()
Get the number of 'OriginDestinationInformation' element items.

Returns:
count

addOriginDestinationInformation

public void addOriginDestinationInformation(LowFareSearchRQ.OriginDestinationInformation item)
Add a 'OriginDestinationInformation' element item.

Parameters:
item -

getOriginDestinationInformation

public LowFareSearchRQ.OriginDestinationInformation getOriginDestinationInformation(int index)
Get 'OriginDestinationInformation' element item by position.

Parameters:
index -
Returns:
item

clearOriginDestinationInformations

public void clearOriginDestinationInformations()
Remove all 'OriginDestinationInformation' element items.


getSpecificFlightInfo

public SpecificFlightInfo getSpecificFlightInfo()
Get the 'SpecificFlightInfo' element value. Specify actual airline, flight number, or booking class to qualify the low fare search

Returns:
value

setSpecificFlightInfo

public void setSpecificFlightInfo(SpecificFlightInfo specificFlightInfo)
Set the 'SpecificFlightInfo' element value. Specify actual airline, flight number, or booking class to qualify the low fare search

Parameters:
specificFlightInfo -

getTravelPreferences

public java.util.List<LowFareSearchRQ.TravelPreferences> getTravelPreferences()
Get the list of 'TravelPreferences' element items.

Returns:
list

setTravelPreferences

public void setTravelPreferences(java.util.List<LowFareSearchRQ.TravelPreferences> list)
Set the list of 'TravelPreferences' element items.

Parameters:
list -

sizeTravelPreferences

public int sizeTravelPreferences()
Get the number of 'TravelPreferences' element items.

Returns:
count

addTravelPreference

public void addTravelPreference(LowFareSearchRQ.TravelPreferences item)
Add a 'TravelPreferences' element item.

Parameters:
item -

getTravelPreference

public LowFareSearchRQ.TravelPreferences getTravelPreference(int index)
Get 'TravelPreferences' element item by position.

Parameters:
index -
Returns:
item

clearTravelPreferences

public void clearTravelPreferences()
Remove all 'TravelPreferences' element items.


getTravelerInfoSummaryTravelerInfoSummary

public TravelerInfoSummary getTravelerInfoSummaryTravelerInfoSummary()
Get the extension value.

Returns:
value

setTravelerInfoSummaryTravelerInfoSummary

public void setTravelerInfoSummaryTravelerInfoSummary(TravelerInfoSummary travelerInfoSummaryTravelerInfoSummary)
Set the extension value.

Parameters:
travelerInfoSummaryTravelerInfoSummary -

getTravelerInfoSummaryTicketingCountryCode

public java.lang.String getTravelerInfoSummaryTicketingCountryCode()
Get the 'TicketingCountryCode' attribute value. To specify the country code where ticketing of the reservation will take place.

Returns:
value

setTravelerInfoSummaryTicketingCountryCode

public void setTravelerInfoSummaryTicketingCountryCode(java.lang.String travelerInfoSummaryTicketingCountryCode)
Set the 'TicketingCountryCode' attribute value. To specify the country code where ticketing of the reservation will take place.

Parameters:
travelerInfoSummaryTicketingCountryCode -

getTravelerInfoSummarySpecificPTCIndicator

public java.lang.Boolean getTravelerInfoSummarySpecificPTCIndicator()
Get the 'SpecificPTC_Indicator' attribute value. If true, this request is for a specific PTC and only fares applicable to that PTC will be checked and returned.

Returns:
value

setTravelerInfoSummarySpecificPTCIndicator

public void setTravelerInfoSummarySpecificPTCIndicator(java.lang.Boolean travelerInfoSummarySpecificPTCIndicator)
Set the 'SpecificPTC_Indicator' attribute value. If true, this request is for a specific PTC and only fares applicable to that PTC will be checked and returned.

Parameters:
travelerInfoSummarySpecificPTCIndicator -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getMaxResponses

public java.lang.String getMaxResponses()
Get the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Returns:
value

setMaxResponses

public void setMaxResponses(java.lang.String maxResponses)
Set the 'MaxResponses' attribute value. A positive integer value that indicates the maximum number of responses desired in the return.

Parameters:
maxResponses -

getDirectFlightsOnly

public java.lang.Boolean getDirectFlightsOnly()
Get the 'DirectFlightsOnly' attribute value. Request direct flights on between the given locations. false

Returns:
value

setDirectFlightsOnly

public void setDirectFlightsOnly(java.lang.Boolean directFlightsOnly)
Set the 'DirectFlightsOnly' attribute value. Request direct flights on between the given locations. false

Parameters:
directFlightsOnly -

getAvailableFlightsOnly

public java.lang.Boolean getAvailableFlightsOnly()
Get the 'AvailableFlightsOnly' attribute value. Include only flights with available booking codes (when True or when attribute not present).

Returns:
value

setAvailableFlightsOnly

public void setAvailableFlightsOnly(java.lang.Boolean availableFlightsOnly)
Set the 'AvailableFlightsOnly' attribute value. Include only flights with available booking codes (when True or when attribute not present).

Parameters:
availableFlightsOnly -