org.ota.hotel
Class Offer.FreeUpgrade

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

public static class Offer.FreeUpgrade
extends java.lang.Object

Defines offers of the type "book A and get B". 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="FreeUpgrade" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="UpgradeFrom" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:InventoryGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element name="UpgradeTo" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:InventoryGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="UpgradeBookingCode"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Offer.FreeUpgrade()
           
 
Method Summary
 java.lang.String getUpgradeBookingCode()
          Get the 'UpgradeBookingCode' attribute value.
 InventoryGroup getUpgradeFrom()
          Get the 'InventoryGroup' attributeGroup value.
 InventoryGroup getUpgradeTo()
          Get the 'InventoryGroup' attributeGroup value.
 void setUpgradeBookingCode(java.lang.String upgradeBookingCode)
          Set the 'UpgradeBookingCode' attribute value.
 void setUpgradeFrom(InventoryGroup upgradeFrom)
          Set the 'InventoryGroup' attributeGroup value.
 void setUpgradeTo(InventoryGroup upgradeTo)
          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.FreeUpgrade

public Offer.FreeUpgrade()
Method Detail

getUpgradeFrom

public InventoryGroup getUpgradeFrom()
Get the 'InventoryGroup' attributeGroup value. Defines the room or service that is typical for this rate.

Returns:
value

setUpgradeFrom

public void setUpgradeFrom(InventoryGroup upgradeFrom)
Set the 'InventoryGroup' attributeGroup value. Defines the room or service that is typical for this rate.

Parameters:
upgradeFrom -

getUpgradeTo

public InventoryGroup getUpgradeTo()
Get the 'InventoryGroup' attributeGroup value. Defines the upgraded room or service.

Returns:
value

setUpgradeTo

public void setUpgradeTo(InventoryGroup upgradeTo)
Set the 'InventoryGroup' attributeGroup value. Defines the upgraded room or service.

Parameters:
upgradeTo -

getUpgradeBookingCode

public java.lang.String getUpgradeBookingCode()
Get the 'UpgradeBookingCode' attribute value. Code that identifies the inventory item which must appear in the booking.

Returns:
value

setUpgradeBookingCode

public void setUpgradeBookingCode(java.lang.String upgradeBookingCode)
Set the 'UpgradeBookingCode' attribute value. Code that identifies the inventory item which must appear in the booking.

Parameters:
upgradeBookingCode -