public interface ProductDiscountUpdateCommand extends UpdateCommandDsl<ProductDiscount,ProductDiscountUpdateCommand>, MetaModelReferenceExpansionDsl<ProductDiscount,ProductDiscountUpdateCommand,ProductDiscountExpansionModel<ProductDiscount>>
ProductDiscount.
Known UpdateActions
ProductDiscount| Modifier and Type | Method and Description |
|---|---|
static ProductDiscountUpdateCommand |
of(Versioned<ProductDiscount> versioned,
List<? extends UpdateAction<ProductDiscount>> updateActions)
Creates a command to update a ProductDiscount selected by its ID using several update actions.
|
static ProductDiscountUpdateCommand |
of(Versioned<ProductDiscount> versioned,
UpdateAction<ProductDiscount> updateAction,
UpdateAction<ProductDiscount>... updateActions)
Creates a command to update a ProductDiscount selected by its ID using one update action.
|
static ProductDiscountUpdateCommand |
ofKey(String key,
Long version,
List<? extends UpdateAction<ProductDiscount>> updateActions)
Creates a command to update a ProductDiscount selected by its key using several update actions.
|
static ProductDiscountUpdateCommand |
ofKey(String key,
Long version,
UpdateAction<ProductDiscount> updateAction)
Creates a command to update a ProductDiscount selected by its key using one update action.
|
plusUpdateActions, withAdditionalHttpQueryParameters, withUpdateActions, withVersion, withVersiongetUpdateActionscanDeserialize, deserialize, httpRequestIntentplusExpansionPaths, withExpansionPathsplusExpansionPaths, plusExpansionPaths, plusExpansionPaths, plusExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPaths, withExpansionPathsexpansionPathsstatic ProductDiscountUpdateCommand of(Versioned<ProductDiscount> versioned, List<? extends UpdateAction<ProductDiscount>> updateActions)
versioned - the object to update (so directly a ProductDiscount) or just the version/ID information of itupdateActions - the updates@SafeVarargs static ProductDiscountUpdateCommand of(Versioned<ProductDiscount> versioned, UpdateAction<ProductDiscount> updateAction, UpdateAction<ProductDiscount>... updateActions)
versioned - the object to update (so directly a ProductDiscount) or just the version/ID information of itupdateAction - the update to performupdateActions - additional updates to performstatic ProductDiscountUpdateCommand ofKey(String key, Long version, List<? extends UpdateAction<ProductDiscount>> updateActions)
key - the key of the ProductDiscount to update, see ProductDiscount.getKey()version - the current version of the ProductDiscount, see Resource.getVersion()updateActions - the updatesstatic ProductDiscountUpdateCommand ofKey(String key, Long version, UpdateAction<ProductDiscount> updateAction)
key - the key of the ProductDiscount to update, see ProductDiscount.getKey()version - the current version of the ProductDiscount, see Resource.getVersion()updateAction - the update to perform