org.ota.hotel
Class HotelRatePlan.RatePlanLevelFee

java.lang.Object
  extended by org.ota.hotel.HotelRatePlan.RatePlanLevelFee
Enclosing class:
HotelRatePlan

public static class HotelRatePlan.RatePlanLevelFee
extends java.lang.Object

A Fee that is attached directly to the RatePlan. Can be used to send a global surcharge at the RatePlan level. 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="RatePlanLevelFee" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Fee" maxOccurs="unbounded">
         <!-- Reference to inner class Fee -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CodeListGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelRatePlan.RatePlanLevelFee.Fee
          Fee Amount that is applied to the rate.
 
Constructor Summary
HotelRatePlan.RatePlanLevelFee()
           
 
Method Summary
 void addFee(HotelRatePlan.RatePlanLevelFee.Fee item)
          Add a 'Fee' element item.
 void clearFees()
          Remove all 'Fee' element items.
 CodeListGroup getCodeListGroup()
          Get the 'CodeListGroup' attributeGroup value.
 HotelRatePlan.RatePlanLevelFee.Fee getFee(int index)
          Get 'Fee' element item by position.
 java.util.List<HotelRatePlan.RatePlanLevelFee.Fee> getFees()
          Get the list of 'Fee' element items.
 void setCodeListGroup(CodeListGroup codeListGroup)
          Set the 'CodeListGroup' attributeGroup value.
 void setFees(java.util.List<HotelRatePlan.RatePlanLevelFee.Fee> list)
          Set the list of 'Fee' element items.
 int sizeFees()
          Get the number of 'Fee' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRatePlan.RatePlanLevelFee

public HotelRatePlan.RatePlanLevelFee()
Method Detail

getFees

public java.util.List<HotelRatePlan.RatePlanLevelFee.Fee> getFees()
Get the list of 'Fee' element items.

Returns:
list

setFees

public void setFees(java.util.List<HotelRatePlan.RatePlanLevelFee.Fee> list)
Set the list of 'Fee' element items.

Parameters:
list -

sizeFees

public int sizeFees()
Get the number of 'Fee' element items.

Returns:
count

addFee

public void addFee(HotelRatePlan.RatePlanLevelFee.Fee item)
Add a 'Fee' element item.

Parameters:
item -

getFee

public HotelRatePlan.RatePlanLevelFee.Fee getFee(int index)
Get 'Fee' element item by position.

Parameters:
index -
Returns:
item

clearFees

public void clearFees()
Remove all 'Fee' element items.


getCodeListGroup

public CodeListGroup getCodeListGroup()
Get the 'CodeListGroup' attributeGroup value.

Returns:
value

setCodeListGroup

public void setCodeListGroup(CodeListGroup codeListGroup)
Set the 'CodeListGroup' attributeGroup value.

Parameters:
codeListGroup -