Package | Description |
---|---|
io.sphere.sdk.orders.commands |
Provides types to change the state of orders.
|
Modifier and Type | Method and Description |
---|---|
static OrderDeleteCommand |
OrderDeleteCommand.of(Versioned<Order> versioned)
Creates a command object to delete a
Order by ID. |
static OrderDeleteCommand |
OrderDeleteCommand.of(Versioned<Order> versioned,
boolean eraseData)
Creates a command object to delete a
Order by ID. |
static OrderDeleteCommand |
OrderDeleteCommand.ofOrderNumber(String orderNumber,
Long version)
Creates a command object to delete a
Order by its orderNumber. |
static OrderDeleteCommand |
OrderDeleteCommand.ofOrderNumber(String orderNumber,
Long version,
boolean eraseData)
Creates a command object to delete a
Order by its orderNumber. |