Uses of Class
com.broadleafcommerce.inventory.domain.InventoryTransaction
-
-
Uses of InventoryTransaction in com.broadleafcommerce.inventory.domain
Methods in com.broadleafcommerce.inventory.domain that return types with arguments of type InventoryTransaction Modifier and Type Method Description List<InventoryTransaction>
SkuInventoryReservationResponse. getInventoryTransactions()
Method parameters in com.broadleafcommerce.inventory.domain with type arguments of type InventoryTransaction Modifier and Type Method Description void
SkuInventoryReservationResponse. setInventoryTransactions(List<InventoryTransaction> inventoryTransactions)
-
Uses of InventoryTransaction in com.broadleafcommerce.inventory.job.freeinventory
Method parameters in com.broadleafcommerce.inventory.job.freeinventory with type arguments of type InventoryTransaction Modifier and Type Method Description FreeSoftInventoryJobService
FreeSoftInventoryJobConfiguration. freeSoftInventoryJobService(InventoryTransactionService<InventoryTransaction> inventoryTxService, SkuInventoryAdjustmentService<SkuInventory> adjustmentService, org.springframework.core.env.Environment environment)
-
Uses of InventoryTransaction in com.broadleafcommerce.inventory.job.freeinventory.service
Methods in com.broadleafcommerce.inventory.job.freeinventory.service that return types with arguments of type InventoryTransaction Modifier and Type Method Description protected InventoryTransactionService<InventoryTransaction>
DefaultFreeSoftInventoryJobService. getInventoryTransactionService()
Constructor parameters in com.broadleafcommerce.inventory.job.freeinventory.service with type arguments of type InventoryTransaction Constructor Description DefaultFreeSoftInventoryJobService(InventoryTransactionService<InventoryTransaction> inventoryTransactionService, SkuInventoryAdjustmentService<SkuInventory> adjustmentService, org.springframework.core.env.Environment environment)
-
Uses of InventoryTransaction in com.broadleafcommerce.inventory.service
Classes in com.broadleafcommerce.inventory.service with type parameters of type InventoryTransaction Modifier and Type Class Description class
DefaultInventoryTransactionService<T extends InventoryTransaction>
Service to save / retrieveInventoryTransaction
records.interface
InventoryTransactionService<T extends InventoryTransaction>
Service to save and retrieveInventoryTransaction
records.Methods in com.broadleafcommerce.inventory.service that return InventoryTransaction Modifier and Type Method Description protected 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. 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).Methods in com.broadleafcommerce.inventory.service that return types with arguments of type InventoryTransaction Modifier and Type Method Description List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService. cancelInventory(Map<I,List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
DefaultSkuInventoryService. cancelInventory(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
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.List<InventoryTransaction>
SkuInventoryService. cancelInventory(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Performs theDefaultInventoryTransactionType.CANCELLED
InventoryTransactions
to updateSkuInventory
for fulfilled items.List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService. createHardReservations(Map<I,List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
SkuInventoryAdjustmentService. createHardReservations(Map<I,List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Hard reservations that represent final inventory reservations.List<InventoryTransaction>
DefaultSkuInventoryService. createSkuInventoryReservations(SkuInventoryReservationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
SkuInventoryService. createSkuInventoryReservations(SkuInventoryReservationRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Creates HARD or a SOFT Inventory Reservations.List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService. createSoftReservations(Map<I,List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService. createSoftReservations(Map<I,List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, Map<String,List<InventoryTransaction>> existingSoftReservationsByReference, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
SkuInventoryAdjustmentService. createSoftReservations(Map<I,List<SkuInventoryAdjustmentRequestItem>> skuInventoryReservationRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Soft reservations that represent temporary inventory reservations.List<InventoryTransaction>
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.List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService. fulfillInventory(@NonNull Map<I,List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, @NonNull String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
DefaultSkuInventoryService. fulfillInventory(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
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.List<InventoryTransaction>
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 Map<String,List<InventoryTransaction>>
DefaultSkuInventoryAdjustmentService. readExistingTransactionsForItemByType(SkuInventoryAdjustmentRequestItem item, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService. returnInventory(Map<I,List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
DefaultSkuInventoryService. returnInventory(SkuInventoryAdjustmentRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
List<InventoryTransaction>
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.List<InventoryTransaction>
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(List<InventoryTransaction> inventoryTransactions, SkuInventory refreshedInventory, SkuInventoryAdjustmentRequestItem item)
Methods in com.broadleafcommerce.inventory.service with parameters of type InventoryTransaction Modifier and Type Method Description 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 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).Method parameters in com.broadleafcommerce.inventory.service with type arguments of type InventoryTransaction Modifier and Type Method Description 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.protected Set<I>
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 List<InventoryTransaction>
DefaultSkuInventoryAdjustmentService. saveInventoryTransactions(List<InventoryTransaction> transactions, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
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(List<InventoryTransaction> inventoryTransactions, SkuInventory refreshedInventory, SkuInventoryAdjustmentRequestItem item)
protected void
DefaultSkuInventoryAdjustmentService. validateSufficientQuantityReservedForItemAdjustment(SkuInventory inventory, SkuInventoryAdjustmentRequestItem item, Map<String,List<InventoryTransaction>> existingTransactionsByType, InventoryTransactionType transactionType)
Constructor parameters in com.broadleafcommerce.inventory.service with type arguments of type InventoryTransaction Constructor Description DefaultSkuInventoryAdjustmentService(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)
-