Package | Description |
---|---|
io.sphere.sdk.shoppinglists.commands |
Provides types to change the state of shopping list methods.
|
Modifier and Type | Method and Description |
---|---|
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.of(Versioned<ShoppingList> versioned,
List<? extends UpdateAction<ShoppingList>> updateActions)
Creates a command to update a ShoppingList selected by its ID using several update actions.
|
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.of(Versioned<ShoppingList> versioned,
UpdateAction<ShoppingList> updateAction,
UpdateAction<ShoppingList>... updateActions)
Creates a command to update a ShoppingList selected by its ID using one update action.
|
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<ShoppingList>> updateActions)
Creates a command to update a ShoppingList selected by its key using several update actions.
|
static ShoppingListUpdateCommand |
ShoppingListUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ShoppingList> updateAction)
Creates a command to update a ShoppingList selected by its key using one update action.
|