Package | Description |
---|---|
io.sphere.sdk.inventory |
Provides model classes and builders for inventory entries.
|
Modifier and Type | Method and Description |
---|---|
InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.custom(CustomFieldsDraft custom)
Sets the
custom property of this builder. |
InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.expectedDelivery(ZonedDateTime expectedDelivery)
Sets the
expectedDelivery property of this builder. |
static InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.of(InventoryEntry template)
Creates a new object initialized with the fields of the template parameter.
|
static InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.of(InventoryEntryDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.of(String sku,
Long quantityOnStock)
Creates a new object initialized with the given values.
|
static InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.of(String sku,
Long quantityOnStock,
ZonedDateTime expectedDelivery)
Creates a new object initialized with the given values.
|
static InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.of(String sku,
Long quantityOnStock,
ZonedDateTime expectedDelivery,
Integer restockableInDays,
ResourceIdentifier<Channel> supplyChannel)
Creates a new object initialized with the given values.
|
InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.quantityOnStock(Long quantityOnStock)
Sets the
quantityOnStock property of this builder. |
InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.restockableInDays(Integer restockableInDays)
Sets the
restockableInDays property of this builder. |
InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.sku(String sku)
Sets the
sku property of this builder. |
InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.supplyChannel(ResourceIdentifier<Channel> supplyChannel)
Sets the
supplyChannel property of this builder. |