net.sf.ofx4j.domain.data.common
Class Currency

java.lang.Object
  extended by net.sf.ofx4j.domain.data.common.Currency

public class Currency
extends java.lang.Object

Author:
Ryan Heaton
See Also:
"Section 5.2, OFX Spec"

Constructor Summary
Currency()
           
 
Method Summary
 java.lang.String getCode()
          The currency code.
 java.lang.Float getExchangeRate()
          The exchange rate.
 void setCode(java.lang.String code)
          The currency code
 void setExchangeRate(java.lang.Float exchangeRate)
          The exchange rate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Currency

public Currency()
Method Detail

getCode

public java.lang.String getCode()
The currency code.

Returns:
The currency code.
See Also:
Currency.getCurrencyCode()

setCode

public void setCode(java.lang.String code)
The currency code

Parameters:
code - The currency code

getExchangeRate

public java.lang.Float getExchangeRate()
The exchange rate.

Returns:
The exchange rate.

setExchangeRate

public void setExchangeRate(java.lang.Float exchangeRate)
The exchange rate.

Parameters:
exchangeRate - The exchange rate.


Copyright © 2008. All Rights Reserved.