org.ota.shared
Class Fees

java.lang.Object
  extended by org.ota.shared.Fees
Direct Known Subclasses:
SellableProducts.SellableProduct.GuestRoom.RoomLevelFees

public class Fees
extends java.lang.Object

A collection of fees. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FeesType">
   <xs:sequence>
     <xs:element type="ns:FeeType" name="Fee" maxOccurs="unbounded"/>
   </xs:sequence>
 </xs:complexType>
 


Constructor Summary
Fees()
           
 
Method Summary
 void addFee(Fee item)
          Add a 'Fee' element item.
 void clearFees()
          Remove all 'Fee' element items.
 Fee getFee(int index)
          Get 'Fee' element item by position.
 java.util.List<Fee> getFees()
          Get the list of 'Fee' element items.
 void setFees(java.util.List<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

Fees

public Fees()
Method Detail

getFees

public java.util.List<Fee> getFees()
Get the list of 'Fee' element items. Fee Amount that is applied to the rate. Fees are used for non tax amounts like service charges.

Returns:
list

setFees

public void setFees(java.util.List<Fee> list)
Set the list of 'Fee' element items. Fee Amount that is applied to the rate. Fees are used for non tax amounts like service charges.

Parameters:
list -

sizeFees

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

Returns:
count

addFee

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

Parameters:
item -

getFee

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

Parameters:
index -
Returns:
item

clearFees

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