Class ItemStateImpl
java.lang.Object
com.commercetools.api.models.order.ItemStateImpl
- All Implemented Interfaces:
ItemState
,io.vrap.rmf.base.client.ModelBase
ItemState
-
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
Number of Line Items or Custom Line Items in this State.getState()
State of the Line Items or Custom Line Items in a custom workflow.int
hashCode()
void
setQuantity
(Long quantity) Number of Line Items or Custom Line Items in this State.void
setState
(StateReference state) State of the Line Items or Custom Line Items in a custom workflow.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.order.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
Number of Line Items or Custom Line Items in this State.
- Specified by:
getQuantity
in interfaceItemState
- Returns:
- quantity
-
getState
State of the Line Items or Custom Line Items in a custom workflow.
-
setQuantity
Description copied from interface:ItemState
Number of Line Items or Custom Line Items in this State.
- Specified by:
setQuantity
in interfaceItemState
- Parameters:
quantity
- value to be set
-
setState
Description copied from interface:ItemState
State of the Line Items or Custom Line Items in a custom workflow.
-
equals
-
hashCode
-