org.ota.air
Class PTCFareBreakdown.PassengerFare.TicketFeeDetail

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

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

The ticket fee information for this passsenger type code. 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="TicketFeeDetail" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Fee" maxOccurs="9">
         <!-- Reference to inner class Fee -->
       </xs:element>
       <xs:element name="Total" minOccurs="0" maxOccurs="3">
         <!-- Reference to inner class Total -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee
          The ticket fee code.
static class PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total
          Used to specify the total base fees, total taxes and total of both.
 
Constructor Summary
PTCFareBreakdown.PassengerFare.TicketFeeDetail()
           
 
Method Summary
 void addFee(PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee item)
          Add a 'Fee' element item.
 void addTotal(PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total item)
          Add a 'Total' element item.
 void clearFees()
          Remove all 'Fee' element items.
 void clearTotals()
          Remove all 'Total' element items.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee getFee(int index)
          Get 'Fee' element item by position.
 java.util.List<PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee> getFees()
          Get the list of 'Fee' element items.
 PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total getTotal(int index)
          Get 'Total' element item by position.
 java.util.List<PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total> getTotals()
          Get the list of 'Total' element items.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setFees(java.util.List<PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee> list)
          Set the list of 'Fee' element items.
 void setTotals(java.util.List<PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total> list)
          Set the list of 'Total' element items.
 int sizeFees()
          Get the number of 'Fee' element items.
 int sizeTotals()
          Get the number of 'Total' 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

public PTCFareBreakdown.PassengerFare.TicketFeeDetail()
Method Detail

getFees

public java.util.List<PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee> getFees()
Get the list of 'Fee' element items.

Returns:
list

setFees

public void setFees(java.util.List<PTCFareBreakdown.PassengerFare.TicketFeeDetail.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(PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee item)
Add a 'Fee' element item.

Parameters:
item -

getFee

public PTCFareBreakdown.PassengerFare.TicketFeeDetail.Fee getFee(int index)
Get 'Fee' element item by position.

Parameters:
index -
Returns:
item

clearFees

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


getTotals

public java.util.List<PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total> getTotals()
Get the list of 'Total' element items.

Returns:
list

setTotals

public void setTotals(java.util.List<PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total> list)
Set the list of 'Total' element items.

Parameters:
list -

sizeTotals

public int sizeTotals()
Get the number of 'Total' element items.

Returns:
count

addTotal

public void addTotal(PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total item)
Add a 'Total' element item.

Parameters:
item -

getTotal

public PTCFareBreakdown.PassengerFare.TicketFeeDetail.Total getTotal(int index)
Get 'Total' element item by position.

Parameters:
index -
Returns:
item

clearTotals

public void clearTotals()
Remove all 'Total' element items.


getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value. The currency code for all of the ticketing fees.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value. The currency code for all of the ticketing fees.

Parameters:
currencyCodeGroup -