org.ota.air
Class AirTax

java.lang.Object
  extended by org.ota.air.AirTax

public class AirTax
extends java.lang.Object

Defines the data fields available for air tax. The element text of this type may contain a description of the tax. 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="AirTaxType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute type="xs:string" use="optional" name="TaxCode"/>
       <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
       <xs:attribute type="xs:string" use="optional" name="TaxCountry"/>
       <xs:attribute type="xs:string" use="optional" name="TaxName"/>
       <xs:attribute type="xs:boolean" use="optional" name="TaxExemptInd"/>
       <xs:attribute type="ns:ActionType" use="optional" name="Operation"/>
       <xs:attribute use="optional" name="TaxTransactionType">
         <xs:simpleType>
           <!-- Reference to inner class TaxTransaction -->
         </xs:simpleType>
       </xs:attribute>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 


Nested Class Summary
static class AirTax.TaxTransaction
          Schema fragment(s) for this class:
 
Constructor Summary
AirTax()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 Action getOperation()
          Get the 'Operation' attribute value.
 java.lang.String getString()
          Get the extension value.
 java.lang.String getTaxCode()
          Get the 'TaxCode' attribute value.
 java.lang.String getTaxCountry()
          Get the 'TaxCountry' attribute value.
 java.lang.Boolean getTaxExemptInd()
          Get the 'TaxExemptInd' attribute value.
 java.lang.String getTaxName()
          Get the 'TaxName' attribute value.
 AirTax.TaxTransaction getTaxTransaction()
          Get the 'TaxTransactionType' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setOperation(Action operation)
          Set the 'Operation' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 void setTaxCode(java.lang.String taxCode)
          Set the 'TaxCode' attribute value.
 void setTaxCountry(java.lang.String taxCountry)
          Set the 'TaxCountry' attribute value.
 void setTaxExemptInd(java.lang.Boolean taxExemptInd)
          Set the 'TaxExemptInd' attribute value.
 void setTaxName(java.lang.String taxName)
          Set the 'TaxName' attribute value.
 void setTaxTransaction(AirTax.TaxTransaction taxTransaction)
          Set the 'TaxTransactionType' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirTax

public AirTax()
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 -

getTaxCode

public java.lang.String getTaxCode()
Get the 'TaxCode' attribute value. Identifies the code for the tax.

Returns:
value

setTaxCode

public void setTaxCode(java.lang.String taxCode)
Set the 'TaxCode' attribute value. Identifies the code for the tax.

Parameters:
taxCode -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value.

Parameters:
currencyAmountGroup -

getTaxCountry

public java.lang.String getTaxCountry()
Get the 'TaxCountry' attribute value. Used to identify the country imposing the tax.

Returns:
value

setTaxCountry

public void setTaxCountry(java.lang.String taxCountry)
Set the 'TaxCountry' attribute value. Used to identify the country imposing the tax.

Parameters:
taxCountry -

getTaxName

public java.lang.String getTaxName()
Get the 'TaxName' attribute value. Identifies the tax code by name.

Returns:
value

setTaxName

public void setTaxName(java.lang.String taxName)
Set the 'TaxName' attribute value. Identifies the tax code by name.

Parameters:
taxName -

getTaxExemptInd

public java.lang.Boolean getTaxExemptInd()
Get the 'TaxExemptInd' attribute value. This attribute is a candidate for deprecation. Its use is not recommended. Please instead use the new TaxTransactionType attribute which has taken its place. Deprecation warning added in 2009A. When true, the fare is exempt from the tax specified by the tax code.

Returns:
value

setTaxExemptInd

public void setTaxExemptInd(java.lang.Boolean taxExemptInd)
Set the 'TaxExemptInd' attribute value. This attribute is a candidate for deprecation. Its use is not recommended. Please instead use the new TaxTransactionType attribute which has taken its place. Deprecation warning added in 2009A. When true, the fare is exempt from the tax specified by the tax code.

Parameters:
taxExemptInd -

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 -

getTaxTransaction

public AirTax.TaxTransaction getTaxTransaction()
Get the 'TaxTransactionType' attribute value. Used to indicate the type of tax (e.g. charge, refund or exempt).

Returns:
value

setTaxTransaction

public void setTaxTransaction(AirTax.TaxTransaction taxTransaction)
Set the 'TaxTransactionType' attribute value. Used to indicate the type of tax (e.g. charge, refund or exempt).

Parameters:
taxTransaction -