Class ShoppingListUpdateImpl
java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListUpdateImpl
- All Implemented Interfaces:
ResourceUpdate<ShoppingListUpdate,
,ShoppingListUpdateAction, ShoppingListUpdateBuilder> ShoppingListUpdate
,io.vrap.rmf.base.client.ModelBase
public class ShoppingListUpdateImpl
extends Object
implements ShoppingListUpdate, io.vrap.rmf.base.client.ModelBase
ShoppingListUpdate
-
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
List of update actions to be performed on the ShoppingList.Expected version of the ShoppingList on which the changes should be applied.int
hashCode()
void
setActions
(ShoppingListUpdateAction... actions) List of update actions to be performed on the ShoppingList.void
setActions
(List<ShoppingListUpdateAction> actions) List of update actions to be performed on the ShoppingList.void
setVersion
(Long version) Expected version of the ShoppingList 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 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.shopping_list.ShoppingListUpdate
withShoppingListUpdate
-
Constructor Details
-
ShoppingListUpdateImpl
public ShoppingListUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the ShoppingList on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.
- Specified by:
getVersion
in interfaceResourceUpdate<ShoppingListUpdate,
ShoppingListUpdateAction, ShoppingListUpdateBuilder> - Specified by:
getVersion
in interfaceShoppingListUpdate
- Returns:
- version
-
getActions
List of update actions to be performed on the ShoppingList.
- Specified by:
getActions
in interfaceResourceUpdate<ShoppingListUpdate,
ShoppingListUpdateAction, ShoppingListUpdateBuilder> - Specified by:
getActions
in interfaceShoppingListUpdate
- Returns:
- actions
-
setVersion
Description copied from interface:ShoppingListUpdate
Expected version of the ShoppingList on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.
- Specified by:
setVersion
in interfaceResourceUpdate<ShoppingListUpdate,
ShoppingListUpdateAction, ShoppingListUpdateBuilder> - Specified by:
setVersion
in interfaceShoppingListUpdate
- Parameters:
version
- value to be set
-
setActions
Description copied from interface:ShoppingListUpdate
List of update actions to be performed on the ShoppingList.
- Specified by:
setActions
in interfaceShoppingListUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:ShoppingListUpdate
List of update actions to be performed on the ShoppingList.
- Specified by:
setActions
in interfaceResourceUpdate<ShoppingListUpdate,
ShoppingListUpdateAction, ShoppingListUpdateBuilder> - Specified by:
setActions
in interfaceShoppingListUpdate
- Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-