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