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