Uses of Class
com.broadleafcommerce.inventory.domain.SkuInventoryAdjustmentRequestItem
Package
Description
-
Uses of SkuInventoryAdjustmentRequestItem in com.broadleafcommerce.inventory.domain
Modifier and TypeMethodDescriptionSkuInventoryAdjustmentRequestGroup.getItems()
The items to adjust inventory for.SkuInventoryReservationRequestGroup.getRequestedItems()
List of items to reserve.Modifier and TypeMethodDescriptionvoid
SkuInventoryAdjustmentRequestGroup.setItems
(List<SkuInventoryAdjustmentRequestItem> items) The items to adjust inventory for.void
SkuInventoryReservationRequestGroup.setRequestedItems
(List<SkuInventoryAdjustmentRequestItem> requestedItems) List of items to reserve. -
Uses of SkuInventoryAdjustmentRequestItem in com.broadleafcommerce.inventory.service
Modifier and TypeMethodDescriptionprotected Map<I,
List<SkuInventoryAdjustmentRequestItem>> DefaultSkuInventoryService.divideRequestItemsBySkuInventory
(SkuInventoryAdjustmentRequest request, InventoryTransactionType latestExistingTransactionType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected int
DefaultSkuInventoryService.determineExpectedReservationCount
(SkuInventoryAdjustmentRequestItem item) protected InventoryUnavailableException
DefaultSkuInventoryAdjustmentService.inventoryUnavailableException
(SkuInventory inventory, SkuInventoryAdjustmentRequestItem item, InventoryTransactionType transactionType, String reason) protected Map<String,
List<InventoryTransaction>> DefaultSkuInventoryAdjustmentService.readExistingTransactionsForItemByType
(SkuInventoryAdjustmentRequestItem item, 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.protected void
DefaultSkuInventoryAdjustmentService.validateCanCancelInventory
(SkuInventory inventory, SkuInventoryAdjustmentRequestItem item, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultSkuInventoryAdjustmentService.validateCanFulfillInventory
(SkuInventory inventory, SkuInventoryAdjustmentRequestItem item, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) 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) Modifier and TypeMethodDescriptionDefaultSkuInventoryAdjustmentService.cancelInventory
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, 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.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.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) 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.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
.DefaultSkuInventoryAdjustmentService.returnInventory
(Map<I, List<SkuInventoryAdjustmentRequestItem>> skuInventoryAdjustmentRequestItems, String batchId, 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.DefaultSkuInventoryService.validateExpectedInventoryTransactionsExist
(List<SkuInventoryAdjustmentRequestItem> items, List<InventoryTransaction> inventoryTransactions, InventoryTransactionType transactionType) Validates that all expected inventory transactions exist based on the originalitem list
. -
Uses of SkuInventoryAdjustmentRequestItem in com.broadleafcommerce.inventory.service.messaging.checkout
Modifier and TypeMethodDescriptionprotected SkuInventoryAdjustmentRequestItem
OrderSubmittedInventoryAdjustmentMessageListener.buildSkuInventoryAdjustmentItem
(FulfillmentItem fulfillmentItem, CartItem cartItem) Builds aSkuInventoryAdjustmentRequestItem
with data from provided objects.Modifier and TypeMethodDescriptionprotected List<SkuInventoryAdjustmentRequestItem>
OrderSubmittedInventoryAdjustmentMessageListener.buildRequestedItems
(@NonNull Map<String, ? extends CartItem> cartItems, @NonNull List<? extends FulfillmentItem> fulfillmentItems) Iterates over thefulfillmentItems
to determine for which aSkuInventoryAdjustmentRequestItem
should be made. -
Uses of SkuInventoryAdjustmentRequestItem in com.broadleafcommerce.inventory.service.messaging.fulfillments
Modifier and TypeMethodDescriptionprotected SkuInventoryAdjustmentRequestItem
AbstractFulfillmentStatusChangeInventoryAdjustmentListener.buildSkuInventoryAdjustmentItem
(AbstractInventoryAdjustmentListener.OrderFulfillmentItem fulfillmentItem, AbstractInventoryAdjustmentListener.OrderItem orderItem) Builds aSkuInventoryAdjustmentRequestItem
with data from provided objects.Modifier and TypeMethodDescriptionprotected List<SkuInventoryAdjustmentRequestItem>
AbstractFulfillmentStatusChangeInventoryAdjustmentListener.buildRequestedItems
(List<AbstractInventoryAdjustmentListener.OrderFulfillmentItem> fulfillmentItems, List<AbstractInventoryAdjustmentListener.OrderItem> orderItems) BuildsSkuInventoryAdjustmentRequestItems
for each of thefulfillmentItems
. -
Uses of SkuInventoryAdjustmentRequestItem in com.broadleafcommerce.inventory.service.messaging.returns
Modifier and TypeMethodDescriptionprotected SkuInventoryAdjustmentRequestItem
ReturnConfirmedInventoryAdjustmentListener.buildSkuInventoryAdjustmentItem
(AbstractInventoryAdjustmentListener.OrderFulfillmentItem fulfillmentItem, AbstractInventoryAdjustmentListener.OrderItem orderItem, int quantityReturned) Builds aSkuInventoryAdjustmentRequestItem
with data from provided objects.
DefaultSkuInventoryAdjustmentService.updateSoftReservationTransactionAndInventory(List, Map, SkuInventoryAdjustmentRequestItem)