Package | Description |
---|---|
io.sphere.sdk.productdiscounts |
Provides model classes and builders for product discounts.
|
Modifier and Type | Method and Description |
---|---|
static ProductDiscountDraftDsl |
ProductDiscountDraftDsl.of()
Creates a new object initialized with the given values.
|
static ProductDiscountDraftDsl |
ProductDiscountDraftDsl.of(Boolean active,
LocalizedString description,
LocalizedString name,
String predicate,
String sortOrder,
ProductDiscountValue value)
Creates a new object initialized with the given values.
|
static ProductDiscountDraftDsl |
ProductDiscountDraftDsl.of(ProductDiscountDraft template)
Creates a new object initialized with the fields of the template parameter.
|
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withActive(Boolean active) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withDescription(LocalizedString description) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withIsActive(Boolean active) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withKey(String key) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withName(LocalizedString name) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withPredicate(String predicate) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withSortOrder(String sortOrder) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withValidFrom(ZonedDateTime validFrom) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withValidUntil(ZonedDateTime validUntil) |
ProductDiscountDraftDsl |
ProductDiscountDraftDsl.withValue(ProductDiscountValue value) |