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