Class ItemStateImpl
java.lang.Object
com.commercetools.importapi.models.orders.ItemStateImpl
- All Implemented Interfaces:
ItemState
,io.vrap.rmf.base.client.ModelBase
The item's state.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getState()
Maps toItemState.state
.int
hashCode()
void
setQuantity
(Double quantity) set quantityvoid
setState
(StateKeyReference state) Maps toItemState.state
.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.orders.ItemState
withItemState
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ItemStateImpl
public ItemStateImpl()create empty instance
-
-
Method Details
-
getQuantity
- Specified by:
getQuantity
in interfaceItemState
- Returns:
- quantity
-
getState
Maps to
ItemState.state
. -
setQuantity
Description copied from interface:ItemState
set quantity- Specified by:
setQuantity
in interfaceItemState
- Parameters:
quantity
- value to be set
-
setState
Description copied from interface:ItemState
Maps to
ItemState.state
. -
equals
-
hashCode
-