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