org.ota.hotel
Class HotelRatePlan.Rates.Rate

java.lang.Object
  extended by org.ota.hotel.RateUpload
      extended by org.ota.hotel.HotelRatePlan.Rates.Rate
Enclosing class:
HotelRatePlan.Rates

public static class HotelRatePlan.Rates.Rate
extends RateUpload

An individual rate, which is a collection of amounts by guest, additional guests, fees, collection of related guarantee, cancel and payment policies, a description and the unique id to identify the rate. Rate restrictions can be sent along with the rate as attributes of this rate. The indivual rate can also be qualified by the inventory information (InventoryGroup attribute group). 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="Rate" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:RateUploadType">
         <xs:attributeGroup ref="ns:InventoryGroup"/>
         <xs:attribute type="ns:AvailabilityStatusType" use="optional" name="Status"/>
         <xs:attribute type="xs:boolean" use="optional" name="ExtraNightIndicator"/>
         <xs:attributeGroup ref="ns:DerivedRatePlanGroup"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.hotel.RateUpload
RateUpload.AdditionalGuestAmounts, RateUpload.BaseByGuestAmts, RateUpload.GuaranteePolicies
 
Constructor Summary
HotelRatePlan.Rates.Rate()
           
 
Method Summary
 DerivedRatePlanGroup getDerivedRatePlanGroup()
          Get the 'DerivedRatePlanGroup' attributeGroup value.
 java.lang.Boolean getExtraNightIndicator()
          Get the 'ExtraNightIndicator' attribute value.
 InventoryGroup getInventoryGroup()
          Get the 'InventoryGroup' attributeGroup value.
 AvailabilityStatus getStatus()
          Get the 'Status' attribute value.
 void setDerivedRatePlanGroup(DerivedRatePlanGroup derivedRatePlanGroup)
          Set the 'DerivedRatePlanGroup' attributeGroup value.
 void setExtraNightIndicator(java.lang.Boolean extraNightIndicator)
          Set the 'ExtraNightIndicator' attribute value.
 void setInventoryGroup(InventoryGroup inventoryGroup)
          Set the 'InventoryGroup' attributeGroup value.
 void setStatus(AvailabilityStatus status)
          Set the 'Status' attribute value.
 
Methods inherited from class org.ota.hotel.RateUpload
getAdditionalCharges, getAdditionalGuestAmounts, getAgeQualifyingGroup, getBaseByGuestAmts, getCancelPolicies, getCurrencyCodeGroup, getDateTimeSpanGroup, getDOWPatternGroup, getFees, getGuaranteePolicies, getMaxGuestApplicable, getMaxLOS, getMealsIncluded, getMinGuestApplicable, getMinLOS, getNumberOfUnits, getPaymentPolicies, getRateDescription, getRateTier, getRateTimeUnit, getStayOverDate, getUniqueID, getUnitMultiplier, setAdditionalCharges, setAdditionalGuestAmounts, setAgeQualifyingGroup, setBaseByGuestAmts, setCancelPolicies, setCurrencyCodeGroup, setDateTimeSpanGroup, setDOWPatternGroup, setFees, setGuaranteePolicies, setMaxGuestApplicable, setMaxLOS, setMealsIncluded, setMinGuestApplicable, setMinLOS, setNumberOfUnits, setPaymentPolicies, setRateDescription, setRateTier, setRateTimeUnit, setStayOverDate, setUniqueID, setUnitMultiplier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRatePlan.Rates.Rate

public HotelRatePlan.Rates.Rate()
Method Detail

getInventoryGroup

public InventoryGroup getInventoryGroup()
Get the 'InventoryGroup' attributeGroup value.

Returns:
value

setInventoryGroup

public void setInventoryGroup(InventoryGroup inventoryGroup)
Set the 'InventoryGroup' attributeGroup value.

Parameters:
inventoryGroup -

getStatus

public AvailabilityStatus getStatus()
Get the 'Status' attribute value. This is the status of the room rate combination.

Returns:
value

setStatus

public void setStatus(AvailabilityStatus status)
Set the 'Status' attribute value. This is the status of the room rate combination.

Parameters:
status -

getExtraNightIndicator

public java.lang.Boolean getExtraNightIndicator()
Get the 'ExtraNightIndicator' attribute value. When true, indicates that the rate information applies to shoulder night(s).

Returns:
value

setExtraNightIndicator

public void setExtraNightIndicator(java.lang.Boolean extraNightIndicator)
Set the 'ExtraNightIndicator' attribute value. When true, indicates that the rate information applies to shoulder night(s).

Parameters:
extraNightIndicator -

getDerivedRatePlanGroup

public DerivedRatePlanGroup getDerivedRatePlanGroup()
Get the 'DerivedRatePlanGroup' attributeGroup value. Provides detailed information for how this rate is derived for this date range and inventory type.

Returns:
value

setDerivedRatePlanGroup

public void setDerivedRatePlanGroup(DerivedRatePlanGroup derivedRatePlanGroup)
Set the 'DerivedRatePlanGroup' attributeGroup value. Provides detailed information for how this rate is derived for this date range and inventory type.

Parameters:
derivedRatePlanGroup -