org.ota.air
Class Fare.Fees

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

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

This is a collection of Fees 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="Fees" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:AirFeeType" name="Fee" maxOccurs="9">
         <!-- Reference to inner class Fee -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Fare.Fees.Fee
          Any additional fee incurred by the passenger but not shown on the ticket.
 
Constructor Summary
Fare.Fees()
           
 
Method Summary
 void addFee(Fare.Fees.Fee item)
          Add a 'Fee' element item.
 void clearFees()
          Remove all 'Fee' element items.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 Fare.Fees.Fee getFee(int index)
          Get 'Fee' element item by position.
 java.util.List<Fare.Fees.Fee> getFees()
          Get the list of 'Fee' element items.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setFees(java.util.List<Fare.Fees.Fee> list)
          Set the list of 'Fee' element items.
 int sizeFees()
          Get the number of 'Fee' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fare.Fees

public Fare.Fees()
Method Detail

getFees

public java.util.List<Fare.Fees.Fee> getFees()
Get the list of 'Fee' element items.

Returns:
list

setFees

public void setFees(java.util.List<Fare.Fees.Fee> list)
Set the list of 'Fee' element items.

Parameters:
list -

sizeFees

public int sizeFees()
Get the number of 'Fee' element items.

Returns:
count

addFee

public void addFee(Fare.Fees.Fee item)
Add a 'Fee' element item.

Parameters:
item -

getFee

public Fare.Fees.Fee getFee(int index)
Get 'Fee' element item by position.

Parameters:
index -
Returns:
item

clearFees

public void clearFees()
Remove all 'Fee' element items.


getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. The fee total and the appropriate currency code.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. The fee total and the appropriate currency code.

Parameters:
currencyAmountGroup -