public interface DiscountCodeDeleteCommand extends MetaModelReferenceExpansionDsl<DiscountCode,DiscountCodeDeleteCommand,DiscountCodeExpansionModel<DiscountCode>>, DeleteCommand<DiscountCode>
DiscountCode
.DiscountCode
Modifier and Type | Method and Description |
---|---|
static DiscountCodeDeleteCommand |
of(Versioned<DiscountCode> versioned)
Creates a command object to delete a
DiscountCode by ID. |
static DiscountCodeDeleteCommand |
of(Versioned<DiscountCode> versioned,
boolean eraseData)
Creates a command object to delete a
DiscountCode by ID. |
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
canDeserialize, deserialize, httpRequestIntent
static DiscountCodeDeleteCommand of(Versioned<DiscountCode> versioned)
DiscountCode
by ID.versioned
- the object to delete (so directly a DiscountCode
) or just the version/ID information of itstatic DiscountCodeDeleteCommand of(Versioned<DiscountCode> versioned, boolean eraseData)
DiscountCode
by ID.versioned
- the object to delete (so directly a DiscountCode
) or just the version/ID information of iteraseData
- If set to true, Composable Commerce guarantees that all personal data related to the particular object, including invisible data, is erased, in compliance with the GDPR.