org.ota.hotel
Class BookingRuleRS.StatusApplication.RoomRates.RoomRate

java.lang.Object
  extended by org.ota.hotel.BookingRuleRS.StatusApplication.RoomRates.RoomRate
Enclosing class:
BookingRuleRS.StatusApplication.RoomRates

public static class BookingRuleRS.StatusApplication.RoomRates.RoomRate
extends java.lang.Object

The room rate to which the booking rule applies. 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="RoomRate" maxOccurs="9">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ParagraphType" name="RateDescription" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
     <xs:attribute type="ns:TimeUnitType" use="optional" name="RateTimeUnit"/>
     <xs:attribute type="xs:string" use="optional" name="UnitMultiplier"/>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
BookingRuleRS.StatusApplication.RoomRates.RoomRate()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 Paragraph getRateDescription()
          Get the 'RateDescription' element value.
 TimeUnit getRateTimeUnit()
          Get the 'RateTimeUnit' attribute value.
 java.lang.String getUnitMultiplier()
          Get the 'UnitMultiplier' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setRateDescription(Paragraph rateDescription)
          Set the 'RateDescription' element value.
 void setRateTimeUnit(TimeUnit rateTimeUnit)
          Set the 'RateTimeUnit' attribute value.
 void setUnitMultiplier(java.lang.String unitMultiplier)
          Set the 'UnitMultiplier' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookingRuleRS.StatusApplication.RoomRates.RoomRate

public BookingRuleRS.StatusApplication.RoomRates.RoomRate()
Method Detail

getRateDescription

public Paragraph getRateDescription()
Get the 'RateDescription' element value. A description of the rate. May be used to specify the dates/number of nights to which the rate applies in text format.

Returns:
value

setRateDescription

public void setRateDescription(Paragraph rateDescription)
Set the 'RateDescription' element value. A description of the rate. May be used to specify the dates/number of nights to which the rate applies in text format.

Parameters:
rateDescription -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. The rate amount and a currency code.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. The rate amount and a currency code.

Parameters:
currencyAmountGroup -

getRateTimeUnit

public TimeUnit getRateTimeUnit()
Get the 'RateTimeUnit' attribute value. The time unit for the rate.

Returns:
value

setRateTimeUnit

public void setRateTimeUnit(TimeUnit rateTimeUnit)
Set the 'RateTimeUnit' attribute value. The time unit for the rate.

Parameters:
rateTimeUnit -

getUnitMultiplier

public java.lang.String getUnitMultiplier()
Get the 'UnitMultiplier' attribute value. Indicates the number of rate time units such as "3 Days".

Returns:
value

setUnitMultiplier

public void setUnitMultiplier(java.lang.String unitMultiplier)
Set the 'UnitMultiplier' attribute value. Indicates the number of rate time units such as "3 Days".

Parameters:
unitMultiplier -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. Used to define the start and end date of the room rate.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. Used to define the start and end date of the room rate.

Parameters:
dateTimeSpanGroup -