Uses of Interface
com.broadleafcommerce.inventory.domain.InventoryTransactionType
-
Packages that use InventoryTransactionType Package Description com.broadleafcommerce.inventory.domain com.broadleafcommerce.inventory.service -
-
Uses of InventoryTransactionType in com.broadleafcommerce.inventory.domain
Classes in com.broadleafcommerce.inventory.domain that implement InventoryTransactionType Modifier and Type Class Description class
DefaultInventoryTransactionType
Enumeration for storing different inventory transaction types. -
Uses of InventoryTransactionType in com.broadleafcommerce.inventory.service
Methods in com.broadleafcommerce.inventory.service with parameters of type InventoryTransactionType Modifier and Type Method Description protected InventoryTransaction
DefaultSkuInventoryAdjustmentService. buildInventoryTransaction(int quantity, InventoryTransactionType type, String reference, String skuInventoryId, String batchId, Instant dateProcessed)
protected Map<I,List<SkuInventoryAdjustmentRequestItem>>
DefaultSkuInventoryService. divideRequestItemsBySkuInventory(SkuInventoryAdjustmentRequest request, InventoryTransactionType latestExistingTransactionType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
protected Map<String,String>
DefaultSkuInventoryService. getInventoryIdsForReferenceNumbersBasedOnExistingTransactions(List<SkuInventoryAdjustmentRequestItem> items, InventoryTransactionType latestExistingTransactionType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieves theSKU Inventory ID
for the items'reference numbers
based on existing transactions of typelatestExistingTransactionType
.protected InventoryUnavailableException
DefaultSkuInventoryAdjustmentService. inventoryUnavailableException(SkuInventory inventory, SkuInventoryAdjustmentRequestItem item, InventoryTransactionType transactionType, String reason)
protected int
DefaultSkuInventoryAdjustmentService. sumQuantityForTransactionType(Map<String,List<InventoryTransaction>> transactionsByType, InventoryTransactionType type)
protected Optional<String>
DefaultSkuInventoryService. validateExpectedInventoryTransactionsExist(List<SkuInventoryAdjustmentRequestItem> items, List<InventoryTransaction> inventoryTransactions, InventoryTransactionType transactionType)
Validates that all expected inventory transactions exist based on the originalitem list
.protected void
DefaultSkuInventoryAdjustmentService. validateSufficientQuantityReservedForItemAdjustment(SkuInventory inventory, SkuInventoryAdjustmentRequestItem item, Map<String,List<InventoryTransaction>> existingTransactionsByType, InventoryTransactionType transactionType)
-