395396397398399400401402403404405
shoppingCartItems.add(scItem); } InventoryEngine engine = new InventoryEngine(item); if (!engine.isAvailable(totalQuantity)) { throw new ItemNotAvailiableException(); } if (!isUpdate) { scItem.setItemAttributeInfos(itemAttributeInfos); }