public interface DiscountCodeUpdateCommand extends UpdateCommandDsl<DiscountCode,DiscountCodeUpdateCommand>, MetaModelReferenceExpansionDsl<DiscountCode,DiscountCodeUpdateCommand,DiscountCodeExpansionModel<DiscountCode>>
DiscountCode
.
Known UpdateActions
DiscountCode
Modifier and Type | Method and Description |
---|---|
static DiscountCodeUpdateCommand |
of(Versioned<DiscountCode> versioned,
List<? extends UpdateAction<DiscountCode>> updateActions)
Creates a command to update a DiscountCode selected by its ID using several update actions.
|
static DiscountCodeUpdateCommand |
of(Versioned<DiscountCode> versioned,
UpdateAction<DiscountCode> updateAction,
UpdateAction<DiscountCode>... updateActions)
Creates a command to update a DiscountCode selected by its ID 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 DiscountCodeUpdateCommand of(Versioned<DiscountCode> versioned, List<? extends UpdateAction<DiscountCode>> updateActions)
versioned
- the object to update (so directly a DiscountCode
) or just the version/ID information of itupdateActions
- the updates@SafeVarargs static DiscountCodeUpdateCommand of(Versioned<DiscountCode> versioned, UpdateAction<DiscountCode> updateAction, UpdateAction<DiscountCode>... updateActions)
versioned
- the object to update (so directly a DiscountCode
) or just the version/ID information of itupdateAction
- the update to performupdateActions
- additional updates to perform