org.ota.dynamicpkg
Class DynamicPkgHotelSearch

java.lang.Object
  extended by org.ota.dynamicpkg.DynamicPkgSearch
      extended by org.ota.dynamicpkg.DynamicPkgHotelSearch

public class DynamicPkgHotelSearch
extends DynamicPkgSearch

A collection of hotel search criteria. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DynamicPkgHotelSearchType">
   <xs:complexContent>
     <xs:extension base="ns:DynamicPkgSearchType">
       <xs:sequence>
         <xs:element type="ns:HotelSearchCriteriaType" name="HotelSearchCriteria" minOccurs="0"/>
         <xs:element type="ns:HotelReservationIDsType" name="HotelReservationIDs" minOccurs="0"/>
         <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
       </xs:sequence>
       <xs:attribute type="ns:HotelComponentSearchType" use="optional" name="RequestType"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.dynamicpkg.DynamicPkgSearch
DynamicPkgSearch.PromotionInfo
 
Constructor Summary
DynamicPkgHotelSearch()
           
 
Method Summary
 HotelReservationIDs getHotelReservationIDs()
          Get the 'HotelReservationIDs' element value.
 HotelSearchCriteria getHotelSearchCriteria()
          Get the 'HotelSearchCriteria' element value.
 HotelComponentSearch getRequest()
          Get the 'RequestType' attribute value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setHotelReservationIDs(HotelReservationIDs hotelReservationIDs)
          Set the 'HotelReservationIDs' element value.
 void setHotelSearchCriteria(HotelSearchCriteria hotelSearchCriteria)
          Set the 'HotelSearchCriteria' element value.
 void setRequest(HotelComponentSearch request)
          Set the 'RequestType' attribute value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 
Methods inherited from class org.ota.dynamicpkg.DynamicPkgSearch
addPromotionInfo, clearPromotionInfos, getMaxResponses, getPromotionInfo, getPromotionInfos, getSequenceNumber, setMaxResponses, setPromotionInfos, setSequenceNumber, sizePromotionInfos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicPkgHotelSearch

public DynamicPkgHotelSearch()
Method Detail

getHotelSearchCriteria

public HotelSearchCriteria getHotelSearchCriteria()
Get the 'HotelSearchCriteria' element value. Hotel search criteria.

Returns:
value

setHotelSearchCriteria

public void setHotelSearchCriteria(HotelSearchCriteria hotelSearchCriteria)
Set the 'HotelSearchCriteria' element value. Hotel search criteria.

Parameters:
hotelSearchCriteria -

getHotelReservationIDs

public HotelReservationIDs getHotelReservationIDs()
Get the 'HotelReservationIDs' element value. Provides the ability to link a hotel search to a previsously booked hotel room.

Returns:
value

setHotelReservationIDs

public void setHotelReservationIDs(HotelReservationIDs hotelReservationIDs)
Set the 'HotelReservationIDs' element value. Provides the ability to link a hotel search to a previsously booked hotel room.

Parameters:
hotelReservationIDs -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getRequest

public HotelComponentSearch getRequest()
Get the 'RequestType' attribute value. The type of search.

Returns:
value

setRequest

public void setRequest(HotelComponentSearch request)
Set the 'RequestType' attribute value. The type of search.

Parameters:
request -