Package | Description |
---|---|
io.sphere.sdk.productselections.commands |
Provides types to change the state of product selection.
|
Modifier and Type | Method and Description |
---|---|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its ID using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.of(Versioned<ProductSelection> versioned,
UpdateAction<ProductSelection> updateAction,
UpdateAction<ProductSelection>... updateActions)
Creates a command to update a ProductSelection selected by its ID using one update action.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofId(String id,
Long version,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its id using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofId(String id,
Long version,
UpdateAction<ProductSelection> updateAction)
Creates a command to update a ProductSelection selected by its id using one update action.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofKey(String key,
Long version,
List<? extends UpdateAction<ProductSelection>> updateActions)
Creates a command to update a ProductSelection selected by its key using several update actions.
|
static ProductSelectionUpdateCommand |
ProductSelectionUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ProductSelection> updateAction)
Creates a command to update a ProductSelection selected by its key using one update action.
|