org.ota.shared
Class FeeTaxGroup

java.lang.Object
  extended by org.ota.shared.FeeTaxGroup

public class FeeTaxGroup
extends java.lang.Object

Defines the fees and/or taxes associated with a charge (e.g. taxes associated with a hotel rate). Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FeeTaxGroup">
   <xs:attribute type="ns:AmountDeterminationType" use="optional" name="Type"/>
   <xs:attribute type="xs:string" use="optional" name="Code"/>
   <xs:attribute type="xs:float" use="optional" name="Percent"/>
   <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
 </xs:attributeGroup>
 
 <xs:simpleType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AmountDeterminationType">
   <!-- Reference to inner class AmountDetermination -->
 </xs:simpleType>
 


Nested Class Summary
static class FeeTaxGroup.AmountDetermination
          Used to indicate if an amount is inclusive or exclusive of other charges, such as taxes, or is cumulative (amounts have been added to each other).
 
Constructor Summary
FeeTaxGroup()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.Float getPercent()
          Get the 'Percent' attribute value.
 FeeTaxGroup.AmountDetermination getType()
          Get the 'Type' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setPercent(java.lang.Float percent)
          Set the 'Percent' attribute value.
 void setType(FeeTaxGroup.AmountDetermination type)
          Set the 'Type' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeeTaxGroup

public FeeTaxGroup()
Method Detail

getType

public FeeTaxGroup.AmountDetermination getType()
Get the 'Type' attribute value. Used to indicate if the amount is inclusive or exclusive of other charges, such as taxes, or is cumulative (amounts have been added to each other).

Returns:
value

setType

public void setType(FeeTaxGroup.AmountDetermination type)
Set the 'Type' attribute value. Used to indicate if the amount is inclusive or exclusive of other charges, such as taxes, or is cumulative (amounts have been added to each other).

Parameters:
type -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Code identifying the fee (e.g.,agency fee, municipality fee). Refer to OpenTravel Code List Fee Tax Type (FTT).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Code identifying the fee (e.g.,agency fee, municipality fee). Refer to OpenTravel Code List Fee Tax Type (FTT).

Parameters:
code -

getPercent

public java.lang.Float getPercent()
Get the 'Percent' attribute value. Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value).

Returns:
value

setPercent

public void setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value).

Parameters:
percent -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. Provides a currency code and an amount for the fee or tax.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. Provides a currency code and an amount for the fee or tax.

Parameters:
currencyAmountGroup -