org.ota.vehicle
Class VehicleRentalTransaction.Fees

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

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

A collection of fees associated with this rental. 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
VehicleRentalTransaction.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

VehicleRentalTransaction.Fees

public VehicleRentalTransaction.Fees()
Method Detail

getFees

public java.util.List<VehicleChargePurpose> getFees()
Get the list of 'Fee' element items. A fee associated with this rental (e.g., airport concession fee, vehicle license fee, facility usage fee). This is not intended for information regarding rates, priced equipment or coverages.

Returns:
list

setFees

public void setFees(java.util.List<VehicleChargePurpose> list)
Set the list of 'Fee' element items. A fee associated with this rental (e.g., airport concession fee, vehicle license fee, facility usage fee). This is not intended for information regarding rates, priced equipment or coverages.

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.