Package | Description |
---|---|
io.sphere.sdk.shippingmethods.commands |
Provides types to change the state of shipping methods.
|
Modifier and Type | Method and Description |
---|---|
static ShippingMethodUpdateCommand |
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 |
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 |
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 |
ShippingMethodUpdateCommand.ofKey(String key,
Long version,
UpdateAction<ShippingMethod> updateAction)
Creates a command to update a ShippingMethod selected by its key using one update action.
|