public interface InventoryEntryDraft extends CustomDraft
Modifier and Type | Method and Description |
---|---|
CustomFieldsDraft |
getCustom() |
ZonedDateTime |
getExpectedDelivery() |
Long |
getQuantityOnStock()
Overall amount of stock.
|
Integer |
getRestockableInDays() |
String |
getSku() |
ResourceIdentifier<Channel> |
getSupplyChannel() |
static InventoryEntryDraftDsl |
of(String sku,
long quantityOnStock) |
static InventoryEntryDraftDsl |
of(String sku,
long quantityOnStock,
ZonedDateTime expectedDelivery,
Integer restockableInDays,
Referenceable<Channel> supplyChannel) |
@Nullable ZonedDateTime getExpectedDelivery()
Long getQuantityOnStock()
getQuantityOnStock()
String getSku()
@Nullable ResourceIdentifier<Channel> getSupplyChannel()
@Nullable CustomFieldsDraft getCustom()
getCustom
in interface CustomDraft
static InventoryEntryDraftDsl of(String sku, long quantityOnStock)
static InventoryEntryDraftDsl of(String sku, long quantityOnStock, @Nullable ZonedDateTime expectedDelivery, @Nullable Integer restockableInDays, Referenceable<Channel> supplyChannel)