Class MoneyImpl
java.lang.Object
com.commercetools.history.models.common.MoneyImpl
- All Implemented Interfaces:
Money,io.vrap.rmf.base.client.ModelBase
Money
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCurrency code compliant to ISO 4217.getType()inthashCode()voidsetCentAmount(Integer centAmount) set centAmountvoidsetCurrencyCode(String currencyCode) Currency code compliant to ISO 4217.voidsetFractionDigits(Integer fractionDigits) set fractionDigitsvoidset typeMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
MoneyImpl
public MoneyImpl()create empty instance
-
-
Method Details
-
getCurrencyCode
Currency code compliant to ISO 4217.
- Specified by:
getCurrencyCodein interfaceMoney- Returns:
- currencyCode
-
getCentAmount
- Specified by:
getCentAmountin interfaceMoney- Returns:
- centAmount
-
getFractionDigits
- Specified by:
getFractionDigitsin interfaceMoney- Returns:
- fractionDigits
-
getType
-
setCurrencyCode
Description copied from interface:MoneyCurrency code compliant to ISO 4217.
- Specified by:
setCurrencyCodein interfaceMoney- Parameters:
currencyCode- value to be set
-
setCentAmount
Description copied from interface:Moneyset centAmount- Specified by:
setCentAmountin interfaceMoney- Parameters:
centAmount- value to be set
-
setFractionDigits
Description copied from interface:Moneyset fractionDigits- Specified by:
setFractionDigitsin interfaceMoney- Parameters:
fractionDigits- value to be set
-
setType
Description copied from interface:Moneyset type -
equals
-
hashCode
-