Uses of Class
com.broadleafcommerce.inventory.domain.InventoryTransaction
Package
Description
-
Uses of InventoryTransaction in com.broadleafcommerce.inventory.domain
Modifier and TypeMethodDescriptionvoid
SkuInventoryReservationResponse.setInventoryTransactions
(List<InventoryTransaction> inventoryTransactions) -
Uses of InventoryTransaction in com.broadleafcommerce.inventory.job.freeinventory
Modifier and TypeMethodDescriptionFreeSoftInventoryJobConfiguration.freeSoftInventoryJobService
(InventoryTransactionService<InventoryTransaction> inventoryTxService, SkuInventoryAdjustmentService<SkuInventory> adjustmentService, org.springframework.core.env.Environment environment) -
Uses of InventoryTransaction in com.broadleafcommerce.inventory.job.freeinventory.service
Modifier and TypeMethodDescriptionprotected InventoryTransactionService<InventoryTransaction>
DefaultFreeSoftInventoryJobService.getInventoryTransactionService()
ModifierConstructorDescriptionDefaultFreeSoftInventoryJobService
(InventoryTransactionService<InventoryTransaction> inventoryTransactionService, SkuInventoryAdjustmentService<SkuInventory> adjustmentService, org.springframework.core.env.Environment environment) -
Uses of InventoryTransaction in com.broadleafcommerce.inventory.service
Modifier and TypeClassDescriptionclass
Service to save / retrieveInventoryTransaction
records.interface
InventoryTransactionService<T extends InventoryTransaction>
Service to save and retrieveInventoryTransaction
records.Modifier and TypeMethodDescriptionprotected InventoryTransaction
DefaultSkuInventoryAdjustmentService.buildInventoryTransaction
(int quantity, InventoryTransactionType type, String reference, String skuInventoryId, String batchId, Instant dateProcessed) protected InventoryTransaction
DefaultSkuInventoryAdjustmentService.createCancelledTransaction
(@NonNull SkuInventory inventory, int quantity, @NonNull String referenceNumber, @NonNull String batchId) Builds a cancelledInventoryTransaction
and adjusts theSkuInventory
quantities.protected InventoryTransaction
DefaultSkuInventoryAdjustmentService.createFulfilledTransaction
(@NonNull SkuInventory inventory, int quantity, @NonNull String referenceNumber, @NonNull String batchId) Builds a fulfilledInventoryTransaction
and adjusts theSkuInventory
quantities.protected InventoryTransaction
DefaultSkuInventoryAdjustmentService.createHardReservation
(@NonNull SkuInventory inventory, InventoryTransaction softTransaction, @NonNull Integer quantityRequested, @NonNull String referenceNumber, @NonNull String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hard inventory reservation.protected InventoryTransaction
DefaultSkuInventoryAdjustmentService.createOrUpdateInventoryTransaction
(InventoryTransaction inventoryTransaction, InventoryTransaction existingSoftReservation, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Create an inventory transaction, or update an existing transaction if a previous soft transaction existsprotected InventoryTransaction
DefaultSkuInventoryAdjustmentService.createReturnedTransaction
(@NonNull SkuInventory inventory, int quantity, @NonNull String referenceNumber, @NonNull String batchId) Builds a returnedInventoryTransaction
and adjusts theSkuInventory
quantities.protected InventoryTransaction
DefaultSkuInventoryAdjustmentService.createSoftReservation
(@NonNull SkuInventory inventory, @NonNull Integer quantityRequested, @NonNull String referenceNumber, @NonNull String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Soft inventory reservation.protected InventoryTransaction
DefaultSkuInventoryAdjustmentService.freeSoftReservationQuantity
(InventoryTransaction softReservation, SkuInventory skuInventory) Adjusts the SKU inventory quantities to reflect a soft inventory reservation being released (back to the available pool).Modifier and TypeMethodDescriptionDefaultSkuInventoryAdjustmentService.cancelInventory
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultSkuInventoryService.cancelInventory
(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) SkuInventoryAdjustmentService.cancelInventory
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform the cancel of inventory to remove reserved quantity.SkuInventoryService.cancelInventory
(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Performs theDefaultInventoryTransactionType.CANCELLED
InventoryTransactions
to updateSkuInventory
for fulfilled items.DefaultSkuInventoryAdjustmentService.createHardReservations
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) SkuInventoryAdjustmentService.createHardReservations
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hard reservations that represent final inventory reservations.DefaultSkuInventoryService.createSkuInventoryReservations
(SkuInventoryReservationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) SkuInventoryService.createSkuInventoryReservations
(SkuInventoryReservationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates HARD or a SOFT Inventory Reservations.DefaultSkuInventoryAdjustmentService.createSoftReservations
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultSkuInventoryAdjustmentService.createSoftReservations
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, Map<String, List<InventoryTransaction>> existingSoftReservationsByReference, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) SkuInventoryAdjustmentService.createSoftReservations
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Soft reservations that represent temporary inventory reservations.SkuInventoryAdjustmentService.createSoftReservations
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, Map<String, List<InventoryTransaction>> existingSoftReservationsByReference, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Soft reservations that represent temporary inventory reservations.DefaultSkuInventoryAdjustmentService.fulfillInventory
(@NonNull Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, @NonNull String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultSkuInventoryService.fulfillInventory
(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) SkuInventoryAdjustmentService.fulfillInventory
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform the fulfillment of inventory to remove reserved quantity and decrement on-hand quantity.SkuInventoryService.fulfillInventory
(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Performs theDefaultInventoryTransactionType.FULFILLED
InventoryTransactions
to updateSkuInventory
for fulfilled items.protected Map<String,
List<InventoryTransaction>> DefaultSkuInventoryAdjustmentService.getExistingReservationsByReferences
(List<String> referenceNumbers, Set<String> transactionTypesToRead, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected Map<String,
List<InventoryTransaction>> DefaultSkuInventoryService.getExistingSoftReservationsByReferences
(SkuInventoryReservationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected InventoryTransactionService<InventoryTransaction>
DefaultSkuInventoryAdjustmentService.getInventoryTransactionService()
protected InventoryTransactionService<InventoryTransaction>
DefaultSkuInventoryService.getInventoryTransactionService()
protected InventoryTransactionService<InventoryTransaction>
DefaultSkuInventorySummaryService.getInventoryTransactionService()
protected Map<String,
List<InventoryTransaction>> DefaultSkuInventoryAdjustmentService.readExistingTransactionsForItemByType
(SkuInventoryAdjustmentRequestItem item, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultSkuInventoryAdjustmentService.returnInventory
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultSkuInventoryService.returnInventory
(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) SkuInventoryAdjustmentService.returnInventory
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Perform the return of inventory to add back on-hand quantity.SkuInventoryService.returnInventory
(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Performs theDefaultInventoryTransactionType.RETURNED
InventoryTransactions
to updateSkuInventory
for returned items.protected List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService.saveInventoryTransactions
(List<InventoryTransaction> transactions, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService.updateInventoryTransactions
(List<com.broadleafcommerce.data.tracking.core.service.Update<InventoryTransaction>> transactions, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected List<com.broadleafcommerce.data.tracking.core.service.Update<InventoryTransaction>>
DefaultSkuInventoryAdjustmentService.updateSoftReservationTransactionAndInventory
(@NonNull List<InventoryTransaction> inventoryTransactions, @NonNull Map<String, I> refreshedInventories, @NonNull SkuInventoryAdjustmentRequestItem item) protected List<com.broadleafcommerce.data.tracking.core.service.Update<InventoryTransaction>>
DefaultSkuInventoryAdjustmentService.updateSoftReservationTransactionAndInventory
(List<InventoryTransaction> inventoryTransactions, SkuInventory refreshedInventory, SkuInventoryAdjustmentRequestItem item) Deprecated.Modifier and TypeMethodDescriptionprotected InventoryTransaction
DefaultSkuInventoryAdjustmentService.createHardReservation
(@NonNull SkuInventory inventory, InventoryTransaction softTransaction, @NonNull Integer quantityRequested, @NonNull String referenceNumber, @NonNull String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hard inventory reservation.protected InventoryTransaction
DefaultSkuInventoryAdjustmentService.createOrUpdateInventoryTransaction
(InventoryTransaction inventoryTransaction, InventoryTransaction existingSoftReservation, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Create an inventory transaction, or update an existing transaction if a previous soft transaction existsprotected void
DefaultSkuInventoryAdjustmentService.deleteInventoryTransaction
(InventoryTransaction transaction, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Convenience method for deleting (archiving) an inventory transaction.protected InventoryTransaction
DefaultSkuInventoryAdjustmentService.freeSoftReservationQuantity
(InventoryTransaction softReservation, SkuInventory skuInventory) Adjusts the SKU inventory quantities to reflect a soft inventory reservation being released (back to the available pool).Modifier and TypeMethodDescriptionprotected ReleaseSkuInventoryReservationResponse
DefaultSkuInventoryService.buildReleaseReservationResponse
(@NonNull ReleaseSkuInventoryReservationRequest releaseRequest, @NonNull List<InventoryTransaction> reservationsFound, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds aReleaseSkuInventoryReservationResponse
representing the result of releasing reservations.void
DefaultSkuInventoryAdjustmentService.freeSoftReservations
(List<InventoryTransaction> softReservations, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
SkuInventoryAdjustmentService.freeSoftReservations
(List<InventoryTransaction> softReservations, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Release soft reservations and add back to on-hand quantity.DefaultSkuInventoryService.getAlreadyReservedSkuInventories
(SkuInventoryReservationRequestGroup group, Map<String, List<InventoryTransaction>> existingSoftReservationsByReference, Map<String, Integer> nonReservedRequestedQuantitiesBySkuReference, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads theSkuInventory
records for the reservation request items which already have existing soft reservations.protected boolean
DefaultSkuInventoryAdjustmentService.hasExistingReservations
(List<InventoryTransaction> transactions) protected List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService.saveInventoryTransactions
(List<InventoryTransaction> transactions, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) void
DefaultSkuInventorySummaryService.setInventoryTransactionService
(InventoryTransactionService<InventoryTransaction> inventoryTransactionService) protected int
DefaultSkuInventoryAdjustmentService.sumQuantityForTransactionType
(Map<String, List<InventoryTransaction>> transactionsByType, InventoryTransactionType type) protected List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService.updateInventoryTransactions
(List<com.broadleafcommerce.data.tracking.core.service.Update<InventoryTransaction>> transactions, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected List<com.broadleafcommerce.data.tracking.core.service.Update<InventoryTransaction>>
DefaultSkuInventoryAdjustmentService.updateSoftReservationTransactionAndInventory
(@NonNull List<InventoryTransaction> inventoryTransactions, @NonNull Map<String, I> refreshedInventories, @NonNull SkuInventoryAdjustmentRequestItem item) protected List<com.broadleafcommerce.data.tracking.core.service.Update<InventoryTransaction>>
DefaultSkuInventoryAdjustmentService.updateSoftReservationTransactionAndInventory
(List<InventoryTransaction> inventoryTransactions, SkuInventory refreshedInventory, SkuInventoryAdjustmentRequestItem item) protected void
DefaultSkuInventoryAdjustmentService.validateExistingHardReservations
(@NonNull SkuInventoryAdjustmentRequestItem item, @NonNull List<InventoryTransaction> existingTransactions) Validates that there is not an existingInventoryTransactions
that isDefaultInventoryTransactionType.HARD_RESERVED
for the givenSkuInventoryAdjustmentRequestItem
.protected void
DefaultSkuInventoryAdjustmentService.validateSufficientQuantityReservedForItemAdjustment
(SkuInventory inventory, SkuInventoryAdjustmentRequestItem item, Map<String, List<InventoryTransaction>> existingTransactionsByType, InventoryTransactionType transactionType) ModifierConstructorDescriptionDefaultSkuInventoryAdjustmentService
(SkuInventoryRepository<com.broadleafcommerce.data.tracking.core.Trackable> skuInventoryRepository, InventoryTransactionService<InventoryTransaction> inventoryTransactionService, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager domainMapperManager, com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validator, com.broadleafcommerce.common.extension.TypeFactory typeFactory, StockChangeNotificationService stockChangeNotificationService) DefaultSkuInventoryService
(SkuInventoryRepository<com.broadleafcommerce.data.tracking.core.Trackable> skuInventoryRepository, InventoryLocationService<InventoryLocation> inventoryLocationService, SkuFieldReferenceTypeUtility skuFieldReferenceTypeUtility, SkuInventoryAdjustmentService<I> skuInventoryAdjustmentService, SkuInventoryAvailabilityStrategy<I> skuInventoryAvailabilityStrategy, StockChangeNotificationService stockChangeNotificationService, SkuInventoryReservationRequestValidator skuInventoryReservationRequestValidator, InventoryTransactionService<InventoryTransaction> inventoryTransactionService, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager domainMapperManager)
DefaultSkuInventoryAdjustmentService.updateSoftReservationTransactionAndInventory(List, Map, SkuInventoryAdjustmentRequestItem)