org.ota.vehicle
Class VehicleReservationRQCore.Fees

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

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

A collection of fees associated with this vehicle reservation. 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
VehicleReservationRQCore.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

VehicleReservationRQCore.Fees

public VehicleReservationRQCore.Fees()
Method Detail

getFees

public java.util.List<VehicleChargePurpose> getFees()
Get the list of 'Fee' element items. One specific fee associated with this vehicle reservation.

Returns:
list

setFees

public void setFees(java.util.List<VehicleChargePurpose> list)
Set the list of 'Fee' element items. One specific fee associated with this vehicle reservation.

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.