Package | Description |
---|---|
io.sphere.sdk.inventory |
Provides model classes and builders for inventory entries.
|
io.sphere.sdk.inventory.commands |
Provides types to change the state of inventory entries.
|
io.sphere.sdk.inventory.expansion |
Provides reference expansion models for inventory entries.
|
io.sphere.sdk.inventory.queries |
Provides types to retrieve the state of inventory entries.
|
Modifier and Type | Method and Description |
---|---|
static Reference<InventoryEntry> |
InventoryEntry.referenceOfId(String id)
Creates a reference for one item of this class by a known ID.
|
default Reference<InventoryEntry> |
InventoryEntry.toReference() |
static com.fasterxml.jackson.core.type.TypeReference<InventoryEntry> |
InventoryEntry.typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
Modifier and Type | Method and Description |
---|---|
static InventoryEntryDraftBuilder |
InventoryEntryDraftBuilder.of(InventoryEntry template)
Creates a new object initialized with the fields of the template parameter.
|
Modifier and Type | Method and Description |
---|---|
static InventoryEntryDeleteCommand |
InventoryEntryDeleteCommand.of(Versioned<InventoryEntry> versioned)
Creates a command object to delete a
InventoryEntry by ID. |
static InventoryEntryUpdateCommand |
InventoryEntryUpdateCommand.of(Versioned<InventoryEntry> versioned,
List<? extends UpdateAction<InventoryEntry>> updateActions)
Creates a command to update a InventoryEntry selected by its ID using several update actions.
|
static InventoryEntryUpdateCommand |
InventoryEntryUpdateCommand.of(Versioned<InventoryEntry> versioned,
List<? extends UpdateAction<InventoryEntry>> updateActions)
Creates a command to update a InventoryEntry selected by its ID using several update actions.
|
static InventoryEntryUpdateCommand |
InventoryEntryUpdateCommand.of(Versioned<InventoryEntry> versioned,
UpdateAction<InventoryEntry> updateAction,
UpdateAction<InventoryEntry>... updateActions)
Creates a command to update a InventoryEntry selected by its ID using one update action.
|
static InventoryEntryUpdateCommand |
InventoryEntryUpdateCommand.of(Versioned<InventoryEntry> versioned,
UpdateAction<InventoryEntry> updateAction,
UpdateAction<InventoryEntry>... updateActions)
Creates a command to update a InventoryEntry selected by its ID using one update action.
|
Modifier and Type | Method and Description |
---|---|
static InventoryEntryExpansionModel<InventoryEntry> |
InventoryEntryExpansionModel.of() |
Modifier and Type | Method and Description |
---|---|
LongQuerySortingModel<InventoryEntry> |
InventoryEntryQueryModel.availableQuantity() |
List<ExpansionPath<InventoryEntry>> |
InventoryEntryByIdGet.expansionPaths() |
LongQuerySortingModel<InventoryEntry> |
InventoryEntryQueryModel.quantityOnStock() |
IntegerQuerySortingModel<InventoryEntry> |
InventoryEntryQueryModel.restockableInDays() |
static com.fasterxml.jackson.core.type.TypeReference<PagedQueryResult<InventoryEntry>> |
InventoryEntryQuery.resultTypeReference()
Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
|
StringQuerySortingModel<InventoryEntry> |
InventoryEntryQueryModel.sku() |
ReferenceOptionalQueryModel<InventoryEntry,Channel> |
InventoryEntryQueryModel.supplyChannel() |