Package | Description |
---|---|
io.sphere.sdk.discountcodes.commands |
Provides types to change the state of discount codes.
|
Modifier and Type | Method and Description |
---|---|
static DiscountCodeDeleteCommand |
DiscountCodeDeleteCommand.of(Versioned<DiscountCode> versioned)
Creates a command object to delete a
DiscountCode by ID. |
static DiscountCodeDeleteCommand |
DiscountCodeDeleteCommand.of(Versioned<DiscountCode> versioned,
boolean eraseData)
Creates a command object to delete a
DiscountCode by ID. |