Package | Description |
---|---|
io.sphere.sdk.shoppinglists |
Provides model classes and builders for shopping lists.
|
Modifier and Type | Method and Description |
---|---|
static LineItemDraftDsl |
LineItemDraftDsl.of(LineItemDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static LineItemDraftDsl |
LineItemDraftDsl.of(String productId)
Creates a new object initialized with the given values.
|
static LineItemDraftDsl |
LineItemDraftDsl.ofSku(String sku,
Long quantity)
Creates a new object initialized with the given values.
|
LineItemDraftDsl |
LineItemDraftDsl.withAddedAt(ZonedDateTime addedAt) |
LineItemDraftDsl |
LineItemDraftDsl.withCustom(CustomFieldsDraft custom) |
LineItemDraftDsl |
LineItemDraftDsl.withProductId(String productId) |
LineItemDraftDsl |
LineItemDraftDsl.withQuantity(Long quantity) |
LineItemDraftDsl |
LineItemDraftDsl.withSku(String sku) |
LineItemDraftDsl |
LineItemDraftDsl.withVariantId(Integer variantId) |