org.ota.hotel
Class InvCountRQ.HotelInvCountRequest

java.lang.Object
  extended by org.ota.hotel.InvCountRQ.HotelInvCountRequest
Enclosing class:
InvCountRQ

public static class InvCountRQ.HotelInvCountRequest
extends java.lang.Object

Provides the criteria to identify the date range and room type inventory to be returned. 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="HotelInvCountRequest" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="DateRange" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="RoomTypeCandidates" minOccurs="0">
         <!-- Reference to inner class RoomTypeCandidates -->
       </xs:element>
       <xs:element name="HotelRef" minOccurs="0">
         <!-- Reference to inner class HotelRef -->
       </xs:element>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:boolean" name="SendBookingLimit"/>
     <xs:attribute use="optional" name="BookingLimitMessageType">
       <xs:simpleType>
         <!-- Reference to inner class BookingLimitMessage -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 
 <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
static class InvCountRQ.HotelInvCountRequest.BookingLimitMessage
          Schema fragment(s) for this class:
static class InvCountRQ.HotelInvCountRequest.HotelRef
          Indicates the detail of hotel reference information.
static class InvCountRQ.HotelInvCountRequest.RoomTypeCandidates
          Collection of room stay candidates.
 
Constructor Summary
InvCountRQ.HotelInvCountRequest()
           
 
Method Summary
 InvCountRQ.HotelInvCountRequest.BookingLimitMessage getBookingLimitMessage()
          Get the 'BookingLimitMessageType' attribute value.
 DateTimeSpanGroup getDateRange()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 InvCountRQ.HotelInvCountRequest.HotelRef getHotelRef()
          Get the 'HotelRef' element value.
 InvCountRQ.HotelInvCountRequest.RoomTypeCandidates getRoomTypeCandidates()
          Get the 'RoomTypeCandidates' element value.
 java.lang.Boolean getSendBookingLimit()
          Get the 'SendBookingLimit' attribute value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setBookingLimitMessage(InvCountRQ.HotelInvCountRequest.BookingLimitMessage bookingLimitMessage)
          Set the 'BookingLimitMessageType' attribute value.
 void setDateRange(DateTimeSpanGroup dateRange)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setHotelRef(InvCountRQ.HotelInvCountRequest.HotelRef hotelRef)
          Set the 'HotelRef' element value.
 void setRoomTypeCandidates(InvCountRQ.HotelInvCountRequest.RoomTypeCandidates roomTypeCandidates)
          Set the 'RoomTypeCandidates' element value.
 void setSendBookingLimit(java.lang.Boolean sendBookingLimit)
          Set the 'SendBookingLimit' attribute value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvCountRQ.HotelInvCountRequest

public InvCountRQ.HotelInvCountRequest()
Method Detail

getDateRange

public DateTimeSpanGroup getDateRange()
Get the 'DateTimeSpanGroup' attributeGroup value. A date or range of dates for the rate plan.

Returns:
value

setDateRange

public void setDateRange(DateTimeSpanGroup dateRange)
Set the 'DateTimeSpanGroup' attributeGroup value. A date or range of dates for the rate plan.

Parameters:
dateRange -

getRoomTypeCandidates

public InvCountRQ.HotelInvCountRequest.RoomTypeCandidates getRoomTypeCandidates()
Get the 'RoomTypeCandidates' element value.

Returns:
value

setRoomTypeCandidates

public void setRoomTypeCandidates(InvCountRQ.HotelInvCountRequest.RoomTypeCandidates roomTypeCandidates)
Set the 'RoomTypeCandidates' element value.

Parameters:
roomTypeCandidates -

getHotelRef

public InvCountRQ.HotelInvCountRequest.HotelRef getHotelRef()
Get the 'HotelRef' element value.

Returns:
value

setHotelRef

public void setHotelRef(InvCountRQ.HotelInvCountRequest.HotelRef hotelRef)
Set the 'HotelRef' element value.

Parameters:
hotelRef -

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 -

getSendBookingLimit

public java.lang.Boolean getSendBookingLimit()
Get the 'SendBookingLimit' attribute value. Boolean Flag indicating if overbooking or allocation (defined by BookingLimitMessageType) is requested.

Returns:
value

setSendBookingLimit

public void setSendBookingLimit(java.lang.Boolean sendBookingLimit)
Set the 'SendBookingLimit' attribute value. Boolean Flag indicating if overbooking or allocation (defined by BookingLimitMessageType) is requested.

Parameters:
sendBookingLimit -

getBookingLimitMessage

public InvCountRQ.HotelInvCountRequest.BookingLimitMessage getBookingLimitMessage()
Get the 'BookingLimitMessageType' attribute value. An enumerated type defining the function of the booking limit message. Values: SetLimit (Allocation), AdjustLimit (Overbooking).

Returns:
value

setBookingLimitMessage

public void setBookingLimitMessage(InvCountRQ.HotelInvCountRequest.BookingLimitMessage bookingLimitMessage)
Set the 'BookingLimitMessageType' attribute value. An enumerated type defining the function of the booking limit message. Values: SetLimit (Allocation), AdjustLimit (Overbooking).

Parameters:
bookingLimitMessage -