Package com.caplin.motif.fx.config
Class FormattedAmount
- java.lang.Object
-
- com.caplin.motif.fx.config.FormattedAmount
-
public class FormattedAmount extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FormattedAmount(java.math.BigDecimal amount, java.lang.String currency, int dps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.math.BigDecimal
getAmount()
java.lang.String
getCurrency()
int
getDps()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getAmount
@Nonnull public java.math.BigDecimal getAmount()
-
getCurrency
@Nonnull public java.lang.String getCurrency()
-
getDps
public int getDps()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-