Package | Description |
---|---|
io.sphere.sdk.cartdiscounts |
Provides model classes and builders for cart discounts.
|
Modifier and Type | Method and Description |
---|---|
CartDiscountDraftBuilder |
CartDiscountDraftBuilder.active(boolean active) |
CartDiscountDraftBuilder |
CartDiscountDraftBuilder.cartPredicate(CartPredicate cartPredicate) |
CartDiscountDraftBuilder |
CartDiscountDraftBuilder.isActive(boolean active) |
static CartDiscountDraftBuilder |
CartDiscountDraftBuilder.of(LocalizedString name,
CartPredicate cartPredicate,
CartDiscountValue value,
CartDiscountTarget target,
String sortOrder,
boolean requiresDiscountCode) |
static CartDiscountDraftBuilder |
CartDiscountDraftBuilder.of(String cartPredicate,
LocalizedString name,
boolean requiresDiscountCode,
String sortOrder,
CartDiscountTarget target,
CartDiscountValue value) |
CartDiscountDraftBuilder |
CartDiscountDraftBuilder.requiresDiscountCode(boolean requiresDiscountCode) |