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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getState()
int
hashCode()
void
setQuantity
(Long quantity) set quantityvoid
setState
(StateReference state) set stateMethods 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
- Specified by:
getQuantity
in interfaceItemState
- Returns:
- quantity
-
getState
-
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
set state -
equals
-
hashCode
-