org.ota.vehicle
Class VehicleCharge.TaxAmounts

java.lang.Object
  extended by org.ota.vehicle.VehicleCharge.TaxAmounts
Enclosing class:
VehicleCharge

public static class VehicleCharge.TaxAmounts
extends java.lang.Object

A collection of one or more taxes associated with a specific charge. 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="TaxAmounts" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="TaxAmount" maxOccurs="99">
         <xs:complexType>
           <xs:attributeGroup ref="ns:VehicleTaxAmountGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
VehicleCharge.TaxAmounts()
           
 
Method Summary
 void addTaxAmount(VehicleTaxAmountGroup item)
          Add a 'TaxAmount' element item.
 void clearTaxAmounts()
          Remove all 'TaxAmount' element items.
 VehicleTaxAmountGroup getTaxAmount(int index)
          Get 'TaxAmount' element item by position.
 java.util.List<VehicleTaxAmountGroup> getTaxAmounts()
          Get the list of 'TaxAmount' element items.
 void setTaxAmounts(java.util.List<VehicleTaxAmountGroup> list)
          Set the list of 'TaxAmount' element items.
 int sizeTaxAmounts()
          Get the number of 'TaxAmount' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleCharge.TaxAmounts

public VehicleCharge.TaxAmounts()
Method Detail

getTaxAmounts

public java.util.List<VehicleTaxAmountGroup> getTaxAmounts()
Get the list of 'TaxAmount' element items. Detailed information on one specific tax associated with a specific charge

Returns:
list

setTaxAmounts

public void setTaxAmounts(java.util.List<VehicleTaxAmountGroup> list)
Set the list of 'TaxAmount' element items. Detailed information on one specific tax associated with a specific charge

Parameters:
list -

sizeTaxAmounts

public int sizeTaxAmounts()
Get the number of 'TaxAmount' element items.

Returns:
count

addTaxAmount

public void addTaxAmount(VehicleTaxAmountGroup item)
Add a 'TaxAmount' element item.

Parameters:
item -

getTaxAmount

public VehicleTaxAmountGroup getTaxAmount(int index)
Get 'TaxAmount' element item by position.

Parameters:
index -
Returns:
item

clearTaxAmounts

public void clearTaxAmounts()
Remove all 'TaxAmount' element items.