org.ota.air
Class Fare.Fees.Fee

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

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

Any additional fee incurred by the passenger but not shown on the ticket. 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" type="ns:AirFeeType" name="Fee" maxOccurs="9"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AirFeeType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute type="xs:string" use="required" name="FeeCode"/>
       <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
       <xs:attribute type="xs:float" use="optional" name="TaxPercentage"/>
       <xs:attribute type="ns:ActionType" use="optional" name="Operation"/>
       <xs:attribute use="optional" name="FeeTransactionType">
         <xs:simpleType>
           <!-- Reference to inner class FeeTransaction -->
         </xs:simpleType>
       </xs:attribute>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 


Nested Class Summary
static class Fare.Fees.Fee.FeeTransaction
          Schema fragment(s) for this class:
 
Constructor Summary
Fare.Fees.Fee()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getFeeCode()
          Get the 'FeeCode' attribute value.
 Fare.Fees.Fee.FeeTransaction getFeeTransaction()
          Get the 'FeeTransactionType' attribute value.
 Action getOperation()
          Get the 'Operation' attribute value.
 java.lang.String getString()
          Get the extension value.
 java.lang.Float getTaxPercentage()
          Get the 'TaxPercentage' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setFeeCode(java.lang.String feeCode)
          Set the 'FeeCode' attribute value.
 void setFeeTransaction(Fare.Fees.Fee.FeeTransaction feeTransaction)
          Set the 'FeeTransactionType' attribute value.
 void setOperation(Action operation)
          Set the 'Operation' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 void setTaxPercentage(java.lang.Float taxPercentage)
          Set the 'TaxPercentage' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fare.Fees.Fee

public Fare.Fees.Fee()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getFeeCode

public java.lang.String getFeeCode()
Get the 'FeeCode' attribute value. Identifies the code for the fee.

Returns:
value

setFeeCode

public void setFeeCode(java.lang.String feeCode)
Set the 'FeeCode' attribute value. Identifies the code for the fee.

Parameters:
feeCode -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. Provides a monetary amount and the currency code to reflect the currency in which this amount is expressed.Defines a fee in terms of its amount, currency and decimal places.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. Provides a monetary amount and the currency code to reflect the currency in which this amount is expressed.Defines a fee in terms of its amount, currency and decimal places.

Parameters:
currencyAmountGroup -

getTaxPercentage

public java.lang.Float getTaxPercentage()
Get the 'TaxPercentage' attribute value. Indicates the tax percentage included in this fee (e.g., the Value Added Tax (VAT) percentage).

Returns:
value

setTaxPercentage

public void setTaxPercentage(java.lang.Float taxPercentage)
Set the 'TaxPercentage' attribute value. Indicates the tax percentage included in this fee (e.g., the Value Added Tax (VAT) percentage).

Parameters:
taxPercentage -

getOperation

public Action getOperation()
Get the 'Operation' attribute value. Indicates the required modification to the element.

Returns:
value

setOperation

public void setOperation(Action operation)
Set the 'Operation' attribute value. Indicates the required modification to the element.

Parameters:
operation -

getFeeTransaction

public Fare.Fees.Fee.FeeTransaction getFeeTransaction()
Get the 'FeeTransactionType' attribute value. Used to indicate the type of fee (e.g. charge, refund or exempt).

Returns:
value

setFeeTransaction

public void setFeeTransaction(Fare.Fees.Fee.FeeTransaction feeTransaction)
Set the 'FeeTransactionType' attribute value. Used to indicate the type of fee (e.g. charge, refund or exempt).

Parameters:
feeTransaction -