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