org.ota.dynamicpkg
Class AvailRS.SearchResults.HotelResults

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

public static class AvailRS.SearchResults.HotelResults
extends DynamicPkgResponse

Details of available hotel 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="HotelResults" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:DynamicPkgResponseType">
         <xs:sequence>
           <xs:element name="RoomStays" minOccurs="0">
             <!-- Reference to inner class RoomStays -->
           </xs:element>
         </xs:sequence>
         <xs:attribute type="ns:HotelComponentSearchType" name="ResponseType"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AvailRS.SearchResults.HotelResults.RoomStays
          A collection of room stays.
 
Nested classes/interfaces inherited from class org.ota.dynamicpkg.DynamicPkgResponse
DynamicPkgResponse.PromotionCode
 
Constructor Summary
AvailRS.SearchResults.HotelResults()
           
 
Method Summary
 HotelComponentSearch getResponse()
          Get the 'ResponseType' attribute value.
 AvailRS.SearchResults.HotelResults.RoomStays getRoomStays()
          Get the 'RoomStays' element value.
 void setResponse(HotelComponentSearch response)
          Set the 'ResponseType' attribute value.
 void setRoomStays(AvailRS.SearchResults.HotelResults.RoomStays roomStays)
          Set the 'RoomStays' element 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.HotelResults

public AvailRS.SearchResults.HotelResults()
Method Detail

getRoomStays

public AvailRS.SearchResults.HotelResults.RoomStays getRoomStays()
Get the 'RoomStays' element value.

Returns:
value

setRoomStays

public void setRoomStays(AvailRS.SearchResults.HotelResults.RoomStays roomStays)
Set the 'RoomStays' element value.

Parameters:
roomStays -

getResponse

public HotelComponentSearch getResponse()
Get the 'ResponseType' attribute value. the type of search (PropertyRateList, PropertyList, RoomList)

Returns:
value

setResponse

public void setResponse(HotelComponentSearch response)
Set the 'ResponseType' attribute value. the type of search (PropertyRateList, PropertyList, RoomList)

Parameters:
response -