| Package | Description |
|---|---|
| io.sphere.sdk.cartdiscounts |
Provides model classes and builders for cart discounts.
|
| io.sphere.sdk.cartdiscounts.commands.updateactions |
Provides the possible operations which can be performed on update commands for cart discounts.
|
| Modifier and Type | Method and Description |
|---|---|
StackingMode |
CartDiscount.getStackingMode()
Specify whether the application of this discount causes the following discounts to be ignored.
|
StackingMode |
CartDiscountDraft.getStackingMode()
Specify whether the application of this discount causes the following discounts to be ignored.
|
static StackingMode |
StackingMode.ofSphereValue(String value) |
static StackingMode |
StackingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StackingMode[] |
StackingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
StackingMode |
ChangeStackingMode.getStackingMode() |
| Modifier and Type | Method and Description |
|---|---|
static ChangeStackingMode |
ChangeStackingMode.of(StackingMode stackingMode)
Creates a new object initialized with the given values.
|