org.ota.shared
Class CurrencyAmountGroup

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

public class CurrencyAmountGroup
extends java.lang.Object

Provides a monetary amount and the currency code to reflect the currency in which this amount is expressed. 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="CurrencyAmountGroup">
   <xs:attribute type="xs:float" use="optional" name="Amount"/>
   <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
 </xs:attributeGroup>
 


Constructor Summary
CurrencyAmountGroup()
           
 
Method Summary
 java.lang.Float getAmount()
          Get the 'Amount' attribute value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 void setAmount(java.lang.Float amount)
          Set the 'Amount' attribute value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyAmountGroup

public CurrencyAmountGroup()
Method Detail

getAmount

public java.lang.Float getAmount()
Get the 'Amount' attribute value. A monetary amount.

Returns:
value

setAmount

public void setAmount(java.lang.Float amount)
Set the 'Amount' attribute value. A monetary amount.

Parameters:
amount -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value. Provides a currency code to reflect the currency in which an amount may be expressed as well as the number of decimal places of that currency.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value. Provides a currency code to reflect the currency in which an amount may be expressed as well as the number of decimal places of that currency.

Parameters:
currencyCodeGroup -