Package | Description |
---|---|
io.sphere.sdk.states.commands |
Provides types to change the state of states.
|
Modifier and Type | Method and Description |
---|---|
static StateDeleteCommand |
StateDeleteCommand.of(Versioned<State> versioned)
Creates a command object to delete a
State by ID. |
static StateDeleteCommand |
StateDeleteCommand.ofId(String id,
Long version)
Creates a command object to delete a
State by its id. |
static StateDeleteCommand |
StateDeleteCommand.ofKey(String key,
Long version)
Creates a command object to delete a
State by its key. |