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