Package org.api.cardtrader.modele
Class Money
java.lang.Object
org.api.cardtrader.modele.Money
- All Implemented Interfaces:
java.io.Serializable
public class Money
extends java.lang.Object
implements java.io.Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Money() -
Method Summary
Modifier and Type Method Description doublegetCents()java.util.CurrencygetCurrency()voidsetCents(double cents)voidsetCurrency(java.util.Currency currency)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
Money
public Money()
-
-
Method Details
-
getCents
public double getCents() -
setCents
public void setCents(double cents) -
getCurrency
public java.util.Currency getCurrency() -
setCurrency
public void setCurrency(java.util.Currency currency) -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-