org.ota.rail
Class TotalFare

java.lang.Object
  extended by org.ota.rail.TotalFare

public class TotalFare
extends java.lang.Object

Encapsulates the total price for all adults and all children, or all tickets (in the case of a multi-passenger ticket). If the total fare cannot be calculated, the reason is given. 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="TotalFare">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="AlternateCurrencyTotal" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
TotalFare()
           
 
Method Summary
 CurrencyAmountGroup getAlternateCurrencyTotal()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 void setAlternateCurrencyTotal(CurrencyAmountGroup alternateCurrencyTotal)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TotalFare

public TotalFare()
Method Detail

getAlternateCurrencyTotal

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

Returns:
value

setAlternateCurrencyTotal

public void setAlternateCurrencyTotal(CurrencyAmountGroup alternateCurrencyTotal)
Set the 'CurrencyAmountGroup' attributeGroup value.

Parameters:
alternateCurrencyTotal -

getCurrencyAmountGroup

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

Returns:
value

setCurrencyAmountGroup

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

Parameters:
currencyAmountGroup -