Class Money
java.lang.Object
com.commercetools.graphql.api.types.Money
- All Implemented Interfaces:
BaseMoney
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFor the `Money` it equals to the default number of fraction digits used with the currency.getType()inthashCode()static Money.BuildervoidsetCentAmount(Long centAmount) voidsetCurrencyCode(Currency currencyCode) voidsetFractionDigits(Integer fractionDigits) voidtoString()
-
Constructor Details
-
Money
public Money() -
Money
-
-
Method Details
-
getType
-
setType
-
getCurrencyCode
- Specified by:
getCurrencyCodein interfaceBaseMoney
-
setCurrencyCode
- Specified by:
setCurrencyCodein interfaceBaseMoney
-
getCentAmount
- Specified by:
getCentAmountin interfaceBaseMoney
-
setCentAmount
- Specified by:
setCentAmountin interfaceBaseMoney
-
getFractionDigits
For the `Money` it equals to the default number of fraction digits used with the currency.- Specified by:
getFractionDigitsin interfaceBaseMoney
-
setFractionDigits
- Specified by:
setFractionDigitsin interfaceBaseMoney
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-