org.ota.vehicle
Class RateRuleRS.Fees

java.lang.Object
  extended by org.ota.vehicle.RateRuleRS.Fees
Enclosing class:
RateRuleRS

public static class RateRuleRS.Fees
extends java.lang.Object

A collection of fees associated with this vehicle quotation. 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="Fees" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:VehicleChargePurposeType" name="Fee" maxOccurs="99"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


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

RateRuleRS.Fees

public RateRuleRS.Fees()
Method Detail

getFees

public java.util.List<VehicleChargePurpose> getFees()
Get the list of 'Fee' element items. A specific fee along with the corresponding charge, description and additional information.

Returns:
list

setFees

public void setFees(java.util.List<VehicleChargePurpose> list)
Set the list of 'Fee' element items. A specific fee along with the corresponding charge, description and additional information.

Parameters:
list -

sizeFees

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

Returns:
count

addFee

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

Parameters:
item -

getFee

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

Parameters:
index -
Returns:
item

clearFees

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