org.ota.hotel
Class HotelRatePlan.Supplements.Supplement.PrerequisiteInventory

java.lang.Object
  extended by org.ota.hotel.HotelRatePlan.Supplements.Supplement.PrerequisiteInventory
Enclosing class:
HotelRatePlan.Supplements.Supplement

public static class HotelRatePlan.Supplements.Supplement.PrerequisiteInventory
extends java.lang.Object

Defines inventory (e.g. room type, meal plan) which must be booked for this supplement to 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="PrerequisiteInventory" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="InvCode"/>
     <xs:attribute type="xs:string" use="optional" name="InvType"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelRatePlan.Supplements.Supplement.PrerequisiteInventory()
           
 
Method Summary
 java.lang.String getInv()
          Get the 'InvType' attribute value.
 java.lang.String getInvCode()
          Get the 'InvCode' attribute value.
 void setInv(java.lang.String inv)
          Set the 'InvType' attribute value.
 void setInvCode(java.lang.String invCode)
          Set the 'InvCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRatePlan.Supplements.Supplement.PrerequisiteInventory

public HotelRatePlan.Supplements.Supplement.PrerequisiteInventory()
Method Detail

getInvCode

public java.lang.String getInvCode()
Get the 'InvCode' attribute value. A code defining an inventory item which must be booked for this supplement to apply.

Returns:
value

setInvCode

public void setInvCode(java.lang.String invCode)
Set the 'InvCode' attribute value. A code defining an inventory item which must be booked for this supplement to apply.

Parameters:
invCode -

getInv

public java.lang.String getInv()
Get the 'InvType' attribute value. The inventory type of the item identified by the code in InvCode.

Returns:
value

setInv

public void setInv(java.lang.String inv)
Set the 'InvType' attribute value. The inventory type of the item identified by the code in InvCode.

Parameters:
inv -