Class InventoryEntryUpdateImpl
java.lang.Object
com.commercetools.api.models.inventory.InventoryEntryUpdateImpl
- All Implemented Interfaces:
InventoryEntryUpdate
,ResourceUpdate<InventoryEntryUpdate,
,InventoryEntryUpdateAction, InventoryEntryUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class InventoryEntryUpdateImpl
extends Object
implements InventoryEntryUpdate, io.vrap.rmf.base.client.ModelBase
InventoryEntryUpdate
-
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
Update actions to be performed on the InventoryEntry.Expected version of the InventoryEntry on which the changes should be applied.int
hashCode()
void
setActions
(InventoryEntryUpdateAction... actions) Update actions to be performed on the InventoryEntry.void
setActions
(List<InventoryEntryUpdateAction> actions) Update actions to be performed on the InventoryEntry.void
setVersion
(Long version) Expected version of the InventoryEntry on which the changes should be applied.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.inventory.InventoryEntryUpdate
withInventoryEntryUpdate
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
InventoryEntryUpdateImpl
public InventoryEntryUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the InventoryEntry on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error is returned.
- Specified by:
getVersion
in interfaceInventoryEntryUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<InventoryEntryUpdate,
InventoryEntryUpdateAction, InventoryEntryUpdateBuilder> - Returns:
- version
-
getActions
Update actions to be performed on the InventoryEntry.
- Specified by:
getActions
in interfaceInventoryEntryUpdate
- Specified by:
getActions
in interfaceResourceUpdate<InventoryEntryUpdate,
InventoryEntryUpdateAction, InventoryEntryUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:InventoryEntryUpdate
Expected version of the InventoryEntry on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error is returned.
- Specified by:
setVersion
in interfaceInventoryEntryUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<InventoryEntryUpdate,
InventoryEntryUpdateAction, InventoryEntryUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:InventoryEntryUpdate
Update actions to be performed on the InventoryEntry.
- Specified by:
setActions
in interfaceInventoryEntryUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:InventoryEntryUpdate
Update actions to be performed on the InventoryEntry.
- Specified by:
setActions
in interfaceInventoryEntryUpdate
- Specified by:
setActions
in interfaceResourceUpdate<InventoryEntryUpdate,
InventoryEntryUpdateAction, InventoryEntryUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-