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