org.ota.hotel
Class HotelRatePlan.BookingRules
java.lang.Object
org.ota.hotel.BookingRules
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HotelRatePlan.BookingRules
public HotelRatePlan.BookingRules()
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
-