org.ota.air
Class Fare.Taxes

java.lang.Object
  extended by org.ota.air.Fare.Taxes
Enclosing class:
Fare

public static class Fare.Taxes
extends java.lang.Object

This is a collection of Taxes 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="Taxes" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:AirTaxType" name="Tax" maxOccurs="99"/>
     </xs:sequence>
     <xs:attribute type="xs:float" use="optional" name="Amount"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Fare.Taxes()
           
 
Method Summary
 void addTax(AirTax item)
          Add a 'Tax' element item.
 void clearTaxs()
          Remove all 'Tax' element items.
 java.lang.Float getAmount()
          Get the 'Amount' attribute value.
 AirTax getTax(int index)
          Get 'Tax' element item by position.
 java.util.List<AirTax> getTaxs()
          Get the list of 'Tax' element items.
 void setAmount(java.lang.Float amount)
          Set the 'Amount' attribute value.
 void setTaxs(java.util.List<AirTax> list)
          Set the list of 'Tax' element items.
 int sizeTaxs()
          Get the number of 'Tax' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fare.Taxes

public Fare.Taxes()
Method Detail

getTaxs

public java.util.List<AirTax> getTaxs()
Get the list of 'Tax' element items. Any individual tax applied to the fare

Returns:
list

setTaxs

public void setTaxs(java.util.List<AirTax> list)
Set the list of 'Tax' element items. Any individual tax applied to the fare

Parameters:
list -

sizeTaxs

public int sizeTaxs()
Get the number of 'Tax' element items.

Returns:
count

addTax

public void addTax(AirTax item)
Add a 'Tax' element item.

Parameters:
item -

getTax

public AirTax getTax(int index)
Get 'Tax' element item by position.

Parameters:
index -
Returns:
item

clearTaxs

public void clearTaxs()
Remove all 'Tax' element items.


getAmount

public java.lang.Float getAmount()
Get the 'Amount' attribute value. The total of all the taxes.

Returns:
value

setAmount

public void setAmount(java.lang.Float amount)
Set the 'Amount' attribute value. The total of all the taxes.

Parameters:
amount -