org.ota.hotel
Class HotelRatePlan.BookingRules

java.lang.Object
  extended by org.ota.hotel.BookingRules
      extended by org.ota.hotel.HotelRatePlan.BookingRules
Enclosing class:
HotelRatePlan

public static class HotelRatePlan.BookingRules
extends BookingRules

A collection of booking rules. Booking rules can be sent separately in the HotelBookingRuleNotif message or as part of the RatePlanNotif. 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="BookingRules" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:BookingRulesType">
         <xs:sequence>
           <xs:element name="InventoryInfo" minOccurs="0">
             <xs:complexType>
               <xs:attributeGroup ref="ns:InventoryGroup"/>
             </xs:complexType>
           </xs:element>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.hotel.BookingRules
BookingRules.BookingRule
 
Constructor Summary
HotelRatePlan.BookingRules()
           
 
Method Summary
 InventoryGroup getInventoryInfo()
          Get the 'InventoryGroup' attributeGroup value.
 void setInventoryInfo(InventoryGroup inventoryInfo)
          Set the 'InventoryGroup' attributeGroup value.
 
Methods inherited from class org.ota.hotel.BookingRules
addBookingRule, clearBookingRules, getBookingRule, getBookingRules, setBookingRules, sizeBookingRules
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRatePlan.BookingRules

public HotelRatePlan.BookingRules()
Method Detail

getInventoryInfo

public InventoryGroup getInventoryInfo()
Get the 'InventoryGroup' attributeGroup value. Optional element to indicate Inventory information, when nessary to qualify the booking rule.

Returns:
value

setInventoryInfo

public void setInventoryInfo(InventoryGroup inventoryInfo)
Set the 'InventoryGroup' attributeGroup value. Optional element to indicate Inventory information, when nessary to qualify the booking rule.

Parameters:
inventoryInfo -