org.jpos.iso
Class Currency

java.lang.Object
  extended by org.jpos.iso.Currency
All Implemented Interfaces:
Serializable

public class Currency
extends Object
implements Serializable

ISO Currency Conversion package

Version:
$Id$
Author:
salaman@teknos.com
See Also:
Serialized Form

Constructor Summary
Currency(String alphacode, int isocode, int numdecimals)
           
 
Method Summary
 String formatAmountForISOMsg(double amount)
           
 String getAlphaCode()
           
 int getDecimals()
           
 int getIsoCode()
           
 double parseAmountFromISOMsg(String isoamount)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Currency

public Currency(String alphacode,
                int isocode,
                int numdecimals)
Method Detail

getDecimals

public int getDecimals()

getIsoCode

public int getIsoCode()

getAlphaCode

public String getAlphaCode()

formatAmountForISOMsg

public String formatAmountForISOMsg(double amount)

parseAmountFromISOMsg

public double parseAmountFromISOMsg(String isoamount)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1998-2012 jPOS.org. All Rights Reserved.