org.ota.vehicle
Class VehicleLocationAdditionalFees.MiscellaneousCharges

java.lang.Object
  extended by org.ota.vehicle.VehicleLocationAdditionalFees.MiscellaneousCharges
Enclosing class:
VehicleLocationAdditionalFees

public static class VehicleLocationAdditionalFees.MiscellaneousCharges
extends java.lang.Object

Information on additional miscellaneous charges that may apply to the 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="MiscellaneousCharges" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="MiscellaneousCharge" minOccurs="0" maxOccurs="99">
         <!-- Reference to inner class MiscellaneousCharge -->
       </xs:element>
       <xs:element type="ns:FormattedTextType" name="Info" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge
          This element is used to describe one specific miscellaneous charge that may apply.
 
Constructor Summary
VehicleLocationAdditionalFees.MiscellaneousCharges()
           
 
Method Summary
 void addMiscellaneousCharge(VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge item)
          Add a 'MiscellaneousCharge' element item.
 void clearMiscellaneousCharges()
          Remove all 'MiscellaneousCharge' element items.
 FormattedText getInfo()
          Get the 'Info' element value.
 VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge getMiscellaneousCharge(int index)
          Get 'MiscellaneousCharge' element item by position.
 java.util.List<VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge> getMiscellaneousCharges()
          Get the list of 'MiscellaneousCharge' element items.
 void setInfo(FormattedText info)
          Set the 'Info' element value.
 void setMiscellaneousCharges(java.util.List<VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge> list)
          Set the list of 'MiscellaneousCharge' element items.
 int sizeMiscellaneousCharges()
          Get the number of 'MiscellaneousCharge' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleLocationAdditionalFees.MiscellaneousCharges

public VehicleLocationAdditionalFees.MiscellaneousCharges()
Method Detail

getMiscellaneousCharges

public java.util.List<VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge> getMiscellaneousCharges()
Get the list of 'MiscellaneousCharge' element items.

Returns:
list

setMiscellaneousCharges

public void setMiscellaneousCharges(java.util.List<VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge> list)
Set the list of 'MiscellaneousCharge' element items.

Parameters:
list -

sizeMiscellaneousCharges

public int sizeMiscellaneousCharges()
Get the number of 'MiscellaneousCharge' element items.

Returns:
count

addMiscellaneousCharge

public void addMiscellaneousCharge(VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge item)
Add a 'MiscellaneousCharge' element item.

Parameters:
item -

getMiscellaneousCharge

public VehicleLocationAdditionalFees.MiscellaneousCharges.MiscellaneousCharge getMiscellaneousCharge(int index)
Get 'MiscellaneousCharge' element item by position.

Parameters:
index -
Returns:
item

clearMiscellaneousCharges

public void clearMiscellaneousCharges()
Remove all 'MiscellaneousCharge' element items.


getInfo

public FormattedText getInfo()
Get the 'Info' element value. General information about the additional miscellaneous charges that may apply.

Returns:
value

setInfo

public void setInfo(FormattedText info)
Set the 'Info' element value. General information about the additional miscellaneous charges that may apply.

Parameters:
info -