public final class InventoryEntryQueryBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<io.sphere.sdk.inventory.queries.InventoryEntryQuery> |
buildQueries(java.util.Set<InventoryEntryIdentifier> identifiers)
Builds
List of InventoryEntryQuery's to be used to query existing InventoryEntry's against set of sku and supply channels. |
public static java.util.List<io.sphere.sdk.inventory.queries.InventoryEntryQuery> buildQueries(@Nonnull
java.util.Set<InventoryEntryIdentifier> identifiers)
List of InventoryEntryQuery's to be used to query existing InventoryEntry's against set of sku and supply channels.
For instance, a query for one inventory entry will be like (sku="sku_9" and supplyChannel(id="c28c5609-9766-4176-b8d3-a72edee753e8")) or when supply channel not defined the query will be like (sku="sku_9" and supplyChannel is not defined)
identifiers - Set of unique inventory identifiers, used in search predicateList of inventory entry queries or empty list when there was no identifiers.