org.ota.vehicle
Class VehicleReservationRQCore.VehicleCharges

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

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

Information on the charges associated with this vehicle. Such charges may include the base rental amount, additional mileage amounts, fuel costs, etc. 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="VehicleCharges" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:VehicleChargePurposeType" name="VehicleCharge" maxOccurs="99"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
VehicleReservationRQCore.VehicleCharges()
           
 
Method Summary
 void addVehicleCharge(VehicleChargePurpose item)
          Add a 'VehicleCharge' element item.
 void clearVehicleCharges()
          Remove all 'VehicleCharge' element items.
 VehicleChargePurpose getVehicleCharge(int index)
          Get 'VehicleCharge' element item by position.
 java.util.List<VehicleChargePurpose> getVehicleCharges()
          Get the list of 'VehicleCharge' element items.
 void setVehicleCharges(java.util.List<VehicleChargePurpose> list)
          Set the list of 'VehicleCharge' element items.
 int sizeVehicleCharges()
          Get the number of 'VehicleCharge' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleReservationRQCore.VehicleCharges

public VehicleReservationRQCore.VehicleCharges()
Method Detail

getVehicleCharges

public java.util.List<VehicleChargePurpose> getVehicleCharges()
Get the list of 'VehicleCharge' element items.

Returns:
list

setVehicleCharges

public void setVehicleCharges(java.util.List<VehicleChargePurpose> list)
Set the list of 'VehicleCharge' element items.

Parameters:
list -

sizeVehicleCharges

public int sizeVehicleCharges()
Get the number of 'VehicleCharge' element items.

Returns:
count

addVehicleCharge

public void addVehicleCharge(VehicleChargePurpose item)
Add a 'VehicleCharge' element item.

Parameters:
item -

getVehicleCharge

public VehicleChargePurpose getVehicleCharge(int index)
Get 'VehicleCharge' element item by position.

Parameters:
index -
Returns:
item

clearVehicleCharges

public void clearVehicleCharges()
Remove all 'VehicleCharge' element items.