org.ota.hotel
Class Offer.Inventories.Inventory

java.lang.Object
  extended by org.ota.hotel.Offer.Inventories.Inventory
Enclosing class:
Offer.Inventories

public static class Offer.Inventories.Inventory
extends java.lang.Object

Defines the inventory (e.g., Room type or Board) to which the offer may or may not apply. 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="Inventory" maxOccurs="99">
   <xs:complexType>
     <xs:attributeGroup ref="ns:InventoryGroup"/>
     <xs:attribute type="xs:boolean" use="required" name="AppliesToIndicator"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Offer.Inventories.Inventory()
           
 
Method Summary
 java.lang.Boolean getAppliesToIndicator()
          Get the 'AppliesToIndicator' attribute value.
 InventoryGroup getInventoryGroup()
          Get the 'InventoryGroup' attributeGroup value.
 void setAppliesToIndicator(java.lang.Boolean appliesToIndicator)
          Set the 'AppliesToIndicator' attribute value.
 void setInventoryGroup(InventoryGroup inventoryGroup)
          Set the 'InventoryGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Offer.Inventories.Inventory

public Offer.Inventories.Inventory()
Method Detail

getInventoryGroup

public InventoryGroup getInventoryGroup()
Get the 'InventoryGroup' attributeGroup value. Defines the inventory type for which this offer may or may not apply (e.g., room, board or extra). Used in conjunction with the AppliesToIndicator.

Returns:
value

setInventoryGroup

public void setInventoryGroup(InventoryGroup inventoryGroup)
Set the 'InventoryGroup' attributeGroup value. Defines the inventory type for which this offer may or may not apply (e.g., room, board or extra). Used in conjunction with the AppliesToIndicator.

Parameters:
inventoryGroup -

getAppliesToIndicator

public java.lang.Boolean getAppliesToIndicator()
Get the 'AppliesToIndicator' attribute value. When true, the offer applies to the defined inventory. When false, the offer does not apply to the defined inventory.

Returns:
value

setAppliesToIndicator

public void setAppliesToIndicator(java.lang.Boolean appliesToIndicator)
Set the 'AppliesToIndicator' attribute value. When true, the offer applies to the defined inventory. When false, the offer does not apply to the defined inventory.

Parameters:
appliesToIndicator -