public interface CartDiscountDraft extends CustomDraft, WithKey
CartDiscount
.CartDiscountDraftBuilder
Modifier and Type | Method and Description |
---|---|
String |
getCartPredicate() |
CustomFieldsDraft |
getCustom()
Allow to add
CustomFields to a CartDiscount |
LocalizedString |
getDescription() |
String |
getKey() |
LocalizedString |
getName() |
String |
getSortOrder() |
StackingMode |
getStackingMode()
Specify whether the application of this discount causes the following discounts to be ignored.
|
CartDiscountTarget |
getTarget() |
ZonedDateTime |
getValidFrom() |
ZonedDateTime |
getValidUntil() |
CartDiscountValue |
getValue() |
Boolean |
isActive() |
Boolean |
isRequiresDiscountCode() |
String getCartPredicate()
@Nullable LocalizedString getDescription()
LocalizedString getName()
Boolean isRequiresDiscountCode()
String getSortOrder()
@Nullable CartDiscountTarget getTarget()
@Nullable ZonedDateTime getValidFrom()
@Nullable ZonedDateTime getValidUntil()
CartDiscountValue getValue()
@Nullable CustomFieldsDraft getCustom()
CustomFields
to a CartDiscount
getCustom
in interface CustomDraft
CustomFields
defined at this CartDiscountDraft
@Nullable StackingMode getStackingMode()
StackingMode.STACKING
.