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