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