Class MoneyFieldImpl
java.lang.Object
com.commercetools.importapi.models.customfields.MoneyFieldImpl
- All Implemented Interfaces:
CustomField
,MoneyField
,io.vrap.rmf.base.client.ModelBase
A field with a money value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.importapi.models.customfields.MoneyField
MONEY
-
Constructor Summary
-
Method Summary
Methods inherited from interface com.commercetools.importapi.models.customfields.CustomField
withCustomField
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.customfields.MoneyField
withMoneyField
-
Constructor Details
-
MoneyFieldImpl
public MoneyFieldImpl()create empty instance
-
-
Method Details
-
getType
The type of this field.
- Specified by:
getType
in interfaceCustomField
- Returns:
- type
-
getValue
- Specified by:
getValue
in interfaceMoneyField
- Returns:
- value
-
setValue
Description copied from interface:MoneyField
set value- Specified by:
setValue
in interfaceMoneyField
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-