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