org.jpos.iso
Class Currency
java.lang.Object
org.jpos.iso.Currency
- All Implemented Interfaces:
- java.io.Serializable
public class Currency
- extends java.lang.Object
- implements java.io.Serializable
ISO Currency Conversion package
- Version:
- $Id: Currency.java 2854 2010-01-02 10:34:31Z apr $
- Author:
- salaman@teknos.com
- See Also:
- Serialized Form
|
Constructor Summary |
Currency(java.lang.String alphacode,
int isocode,
int numdecimals)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Currency
public Currency(java.lang.String alphacode,
int isocode,
int numdecimals)
getDecimals
public int getDecimals()
getIsoCode
public int getIsoCode()
getAlphaCode
public java.lang.String getAlphaCode()
formatAmountForISOMsg
public java.lang.String formatAmountForISOMsg(double amount)
parseAmountFromISOMsg
public double parseAmountFromISOMsg(java.lang.String isoamount)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object