org.ota.dynamicpkg
Class AvailRS.SearchResults.AirResults

java.lang.Object
  extended by org.ota.dynamicpkg.DynamicPkgResponse
      extended by org.ota.dynamicpkg.AvailRS.SearchResults.AirResults
Enclosing class:
AvailRS.SearchResults

public static class AvailRS.SearchResults.AirResults
extends DynamicPkgResponse

Details of available air inventory. 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="AirResults" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:DynamicPkgResponseType">
         <xs:choice>
           <xs:element type="ns:PricedItinerariesType" name="PricedItineraries" minOccurs="0"/>
           <xs:element name="OriginDestinationInformation" minOccurs="0">
             <!-- Reference to inner class OriginDestinationInformation -->
           </xs:element>
         </xs:choice>
         <xs:attribute type="ns:AirComponentSearchType" use="optional" name="ResponseType"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AvailRS.SearchResults.AirResults.OriginDestinationInformation
          Information on the locations between which availability was requested.
 
Nested classes/interfaces inherited from class org.ota.dynamicpkg.DynamicPkgResponse
DynamicPkgResponse.PromotionCode
 
Constructor Summary
AvailRS.SearchResults.AirResults()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 AvailRS.SearchResults.AirResults.OriginDestinationInformation getOriginDestinationInformation()
          Get the 'OriginDestinationInformation' element value.
 PricedItineraries getPricedItineraries()
          Get the 'PricedItineraries' element value.
 AirComponentSearch getResponse()
          Get the 'ResponseType' attribute value.
 boolean ifOriginDestinationInformation()
          Check if OriginDestinationInformation is current selection for choice.
 boolean ifPricedItineraries()
          Check if PricedItineraries is current selection for choice.
 void setOriginDestinationInformation(AvailRS.SearchResults.AirResults.OriginDestinationInformation originDestinationInformation)
          Set the 'OriginDestinationInformation' element value.
 void setPricedItineraries(PricedItineraries pricedItineraries)
          Set the 'PricedItineraries' element value.
 void setResponse(AirComponentSearch response)
          Set the 'ResponseType' attribute value.
 
Methods inherited from class org.ota.dynamicpkg.DynamicPkgResponse
addPromotionCode, clearPromotionCodes, getPromotionCode, getPromotionCodes, getQuoteID, getSequenceNumber, getWarnings, setPromotionCodes, setQuoteID, setSequenceNumber, setWarnings, sizePromotionCodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.SearchResults.AirResults

public AvailRS.SearchResults.AirResults()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifPricedItineraries

public boolean ifPricedItineraries()
Check if PricedItineraries is current selection for choice.

Returns:
true if selection, false if not

getPricedItineraries

public PricedItineraries getPricedItineraries()
Get the 'PricedItineraries' element value. Container for priced itineraries.

Returns:
value

setPricedItineraries

public void setPricedItineraries(PricedItineraries pricedItineraries)
Set the 'PricedItineraries' element value. Container for priced itineraries.

Parameters:
pricedItineraries -

ifOriginDestinationInformation

public boolean ifOriginDestinationInformation()
Check if OriginDestinationInformation is current selection for choice.

Returns:
true if selection, false if not

getOriginDestinationInformation

public AvailRS.SearchResults.AirResults.OriginDestinationInformation getOriginDestinationInformation()
Get the 'OriginDestinationInformation' element value.

Returns:
value

setOriginDestinationInformation

public void setOriginDestinationInformation(AvailRS.SearchResults.AirResults.OriginDestinationInformation originDestinationInformation)
Set the 'OriginDestinationInformation' element value.

Parameters:
originDestinationInformation -

getResponse

public AirComponentSearch getResponse()
Get the 'ResponseType' attribute value. the type of search (Roundtrip, Oneway, PriceFlights)

Returns:
value

setResponse

public void setResponse(AirComponentSearch response)
Set the 'ResponseType' attribute value. the type of search (Roundtrip, Oneway, PriceFlights)

Parameters:
response -