Package com.pensio
Class Amount
java.lang.Object
com.pensio.Amount
-
Method Details
-
get
- Parameters:
amount- Amount in 3 decimal notation. An amount of 10.32 would be 10320currency-- Returns:
-
get
-
get
- Throws:
AmountConversionException
-
getFromMinorUnit
public static Amount getFromMinorUnit(String amount, Currency currency) throws AmountConversionException - Throws:
AmountConversionException
-
get
- Throws:
AmountConversionException
-
get
-
getAmount
public long getAmount() -
getCurrency
-
getAmountInMinorUnit
-
getAmountDouble
-
getAmountString
-
toString
-
equals
-
to
-