org.ota.shared
Class Taxes

java.lang.Object
  extended by org.ota.shared.Taxes

public class Taxes
extends java.lang.Object

A collection of taxes. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TaxesType">
   <xs:sequence>
     <xs:element type="ns:TaxType" name="Tax" minOccurs="0" maxOccurs="99"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
 </xs:complexType>
 


Constructor Summary
Taxes()
           
 
Method Summary
 void addTax(Tax item)
          Add a 'Tax' element item.
 void clearTaxs()
          Remove all 'Tax' element items.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 Tax getTax(int index)
          Get 'Tax' element item by position.
 java.util.List<Tax> getTaxs()
          Get the list of 'Tax' element items.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setTaxs(java.util.List<Tax> 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

Taxes

public Taxes()
Method Detail

getTaxs

public java.util.List<Tax> getTaxs()
Get the list of 'Tax' element items. An individual tax.

Returns:
list

setTaxs

public void setTaxs(java.util.List<Tax> list)
Set the list of 'Tax' element items. An individual tax.

Parameters:
list -

sizeTaxs

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

Returns:
count

addTax

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

Parameters:
item -

getTax

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

Parameters:
index -
Returns:
item

clearTaxs

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


getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. Used to provide a total of all the taxes.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. Used to provide a total of all the taxes.

Parameters:
currencyAmountGroup -