Package | Description |
---|---|
io.sphere.sdk.shoppinglists.commands |
Provides types to change the state of shopping list methods.
|
Modifier and Type | Method and Description |
---|---|
static ShoppingListDeleteCommand |
ShoppingListDeleteCommand.of(Versioned<ShoppingList> versioned)
Creates a command object to delete a
ShoppingList by ID. |
static ShoppingListDeleteCommand |
ShoppingListDeleteCommand.of(Versioned<ShoppingList> versioned,
boolean eraseData)
Creates a command object to delete a
ShoppingList by ID. |
static ShoppingListDeleteCommand |
ShoppingListDeleteCommand.ofId(String id,
Long version)
Creates a command object to delete a
ShoppingList by its id. |
static ShoppingListDeleteCommand |
ShoppingListDeleteCommand.ofId(String id,
Long version,
boolean eraseData)
Creates a command object to delete a
ShoppingList by its id. |
static ShoppingListDeleteCommand |
ShoppingListDeleteCommand.ofKey(String key,
Long version)
Creates a command object to delete a
ShoppingList by its key. |
static ShoppingListDeleteCommand |
ShoppingListDeleteCommand.ofKey(String key,
Long version,
boolean eraseData)
Creates a command object to delete a
ShoppingList by its key. |