org.ota.air
Class PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee.Taxes

java.lang.Object
  extended by org.ota.air.PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee.Taxes
Enclosing class:
PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee

public static class PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee.Taxes
extends java.lang.Object

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
PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee.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

PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee.Taxes

public PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee.Taxes()
Method Detail

getTaxs

public java.util.List<AirTax> getTaxs()
Get the list of 'Tax' element items. The tax for the ticket fee.

Returns:
list

setTaxs

public void setTaxs(java.util.List<AirTax> list)
Set the list of 'Tax' element items. The tax for the ticket fee.

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 amount for all ticket fee taxes.

Returns:
value

setAmount

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

Parameters:
amount -