Uses of Interface
com.broadleafcommerce.inventory.domain.InventoryTransactionType
-
Uses of InventoryTransactionType in com.broadleafcommerce.inventory.domain
Modifier and TypeClassDescriptionenum
Enumeration for storing different inventory transaction types. -
Uses of InventoryTransactionType in com.broadleafcommerce.inventory.service
Modifier and TypeMethodDescriptionprotected 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) 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) 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)