org.ota.shared
Class Total

java.lang.Object
  extended by org.ota.shared.Total
Direct Known Subclasses:
Discount, RateUpload.BaseByGuestAmts.BaseByGuestAmt, TravelCost.CostTotals

public class Total
extends java.lang.Object

The total amount charged for the service including additional amounts and fees. 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="TotalType">
   <xs:sequence>
     <xs:element type="ns:TaxesType" name="Taxes" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:float" use="optional" name="AmountBeforeTax"/>
   <xs:attribute type="xs:float" use="optional" name="AmountAfterTax"/>
   <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   <xs:attribute type="xs:boolean" use="optional" name="AdditionalFeesExcludedIndicator"/>
 </xs:complexType>
 


Constructor Summary
Total()
           
 
Method Summary
 java.lang.Boolean getAdditionalFeesExcludedIndicator()
          Get the 'AdditionalFeesExcludedIndicator' attribute value.
 java.lang.Float getAmountAfterTax()
          Get the 'AmountAfterTax' attribute value.
 java.lang.Float getAmountBeforeTax()
          Get the 'AmountBeforeTax' attribute value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 Taxes getTaxes()
          Get the 'Taxes' element value.
 void setAdditionalFeesExcludedIndicator(java.lang.Boolean additionalFeesExcludedIndicator)
          Set the 'AdditionalFeesExcludedIndicator' attribute value.
 void setAmountAfterTax(java.lang.Float amountAfterTax)
          Set the 'AmountAfterTax' attribute value.
 void setAmountBeforeTax(java.lang.Float amountBeforeTax)
          Set the 'AmountBeforeTax' attribute value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setTaxes(Taxes taxes)
          Set the 'Taxes' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Total

public Total()
Method Detail

getTaxes

public Taxes getTaxes()
Get the 'Taxes' element value. A collection of taxes.

Returns:
value

setTaxes

public void setTaxes(Taxes taxes)
Set the 'Taxes' element value. A collection of taxes.

Parameters:
taxes -

getAmountBeforeTax

public java.lang.Float getAmountBeforeTax()
Get the 'AmountBeforeTax' attribute value. The total amount not including any associated tax (e.g., sales tax, VAT, GST or any associated tax).

Returns:
value

setAmountBeforeTax

public void setAmountBeforeTax(java.lang.Float amountBeforeTax)
Set the 'AmountBeforeTax' attribute value. The total amount not including any associated tax (e.g., sales tax, VAT, GST or any associated tax).

Parameters:
amountBeforeTax -

getAmountAfterTax

public java.lang.Float getAmountAfterTax()
Get the 'AmountAfterTax' attribute value. The total amount including all associated taxes (e.g., sales tax, VAT, GST or any associated tax).

Returns:
value

setAmountAfterTax

public void setAmountAfterTax(java.lang.Float amountAfterTax)
Set the 'AmountAfterTax' attribute value. The total amount including all associated taxes (e.g., sales tax, VAT, GST or any associated tax).

Parameters:
amountAfterTax -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup -

getAdditionalFeesExcludedIndicator

public java.lang.Boolean getAdditionalFeesExcludedIndicator()
Get the 'AdditionalFeesExcludedIndicator' attribute value. When true, amounts do not contain additional fees or charges.

Returns:
value

setAdditionalFeesExcludedIndicator

public void setAdditionalFeesExcludedIndicator(java.lang.Boolean additionalFeesExcludedIndicator)
Set the 'AdditionalFeesExcludedIndicator' attribute value. When true, amounts do not contain additional fees or charges.

Parameters:
additionalFeesExcludedIndicator -