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