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