org.ota.shared
Class CurrencyCodeGroup

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

public class CurrencyCodeGroup
extends java.lang.Object

Provides a currency code to reflect the currency in which an amount may be 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="CurrencyCodeGroup">
   <xs:attribute type="xs:string" use="optional" name="CurrencyCode"/>
   <xs:attribute type="xs:int" use="optional" name="DecimalPlaces"/>
 </xs:attributeGroup>
 


Constructor Summary
CurrencyCodeGroup()
           
 
Method Summary
 java.lang.String getCurrencyCode()
          Get the 'CurrencyCode' attribute value.
 java.lang.Integer getDecimalPlaces()
          Get the 'DecimalPlaces' attribute value.
 void setCurrencyCode(java.lang.String currencyCode)
          Set the 'CurrencyCode' attribute value.
 void setDecimalPlaces(java.lang.Integer decimalPlaces)
          Set the 'DecimalPlaces' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyCodeGroup

public CurrencyCodeGroup()
Method Detail

getCurrencyCode

public java.lang.String getCurrencyCode()
Get the 'CurrencyCode' attribute value. The code specifying a monetary unit. Use ISO 4217, three alpha code.

Returns:
value

setCurrencyCode

public void setCurrencyCode(java.lang.String currencyCode)
Set the 'CurrencyCode' attribute value. The code specifying a monetary unit. Use ISO 4217, three alpha code.

Parameters:
currencyCode -

getDecimalPlaces

public java.lang.Integer getDecimalPlaces()
Get the 'DecimalPlaces' attribute value. Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard "minor unit". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces="2" to represent $85).

Returns:
value

setDecimalPlaces

public void setDecimalPlaces(java.lang.Integer decimalPlaces)
Set the 'DecimalPlaces' attribute value. Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard "minor unit". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces="2" to represent $85).

Parameters:
decimalPlaces -