public interface ShippingMethodDeleteCommand extends MetaModelReferenceExpansionDsl<ShippingMethod,ShippingMethodDeleteCommand,ShippingMethodExpansionModel<ShippingMethod>>, DeleteCommand<ShippingMethod>
ShippingMethod
.ShippingMethod
Modifier and Type | Method and Description |
---|---|
static ShippingMethodDeleteCommand |
of(Versioned<ShippingMethod> versioned)
Creates a command object to delete a
ShippingMethod by ID. |
static ShippingMethodDeleteCommand |
ofKey(String key,
Long version)
Creates a command object to delete a
ShippingMethod by its key. |
plusExpansionPaths, withExpansionPaths
plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths
expansionPaths
canDeserialize, deserialize, httpRequestIntent
static ShippingMethodDeleteCommand of(Versioned<ShippingMethod> versioned)
ShippingMethod
by ID.versioned
- the object to delete (so directly a ShippingMethod
) or just the version/ID information of itstatic ShippingMethodDeleteCommand ofKey(String key, Long version)
ShippingMethod
by its key.key
- the key of the ShippingMethod to delete, see ShippingMethod.getKey()
version
- `the current version of the ShippingMethod, see Resource.getVersion()