public interface CartDiscountDeleteCommand extends MetaModelReferenceExpansionDsl<CartDiscount,CartDiscountDeleteCommand,CartDiscountExpansionModel<CartDiscount>>, DeleteCommand<CartDiscount>
CartDiscount.CartDiscount| Modifier and Type | Method and Description |
|---|---|
static CartDiscountDeleteCommand |
of(Versioned<CartDiscount> versioned)
Creates a command object to delete a
CartDiscount by ID. |
static CartDiscountDeleteCommand |
ofId(String id,
Long version)
Creates a command object to delete a
CartDiscount by its id. |
static CartDiscountDeleteCommand |
ofKey(String key,
Long version)
Creates a command object to delete a
CartDiscount by its key. |
plusExpansionPaths, withExpansionPathsplusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPathsexpansionPathscanDeserialize, deserialize, httpRequestIntentstatic CartDiscountDeleteCommand of(Versioned<CartDiscount> versioned)
CartDiscount by ID.versioned - the object to delete (so directly a CartDiscount) or just the version/ID information of itstatic CartDiscountDeleteCommand ofKey(String key, Long version)
CartDiscount by its key.key - the key of the CartDiscount to delete, see CartDiscount.getKey()version - `the current version of the CartDiscount, see Resource.getVersion()static CartDiscountDeleteCommand ofId(String id, Long version)
CartDiscount by its id.id - the id of the CartDiscount to delete, see Resource.getId()version - `the current version of the CartDiscount, see Resource.getVersion()