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