Interface CommerceInventoryEngine


public interface CommerceInventoryEngine
  • Method Details

    • consumeQuantity

      void consumeQuantity(long userId, long commerceInventoryBookedQuantityId, long commerceCatalogGroupId, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey, Map<String,String> context) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • decreaseStockQuantity

      void decreaseStockQuantity(long userId, long commerceCatalogGroupId, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAvailabilityStatus

      String getAvailabilityStatus(long companyId, long accountEntryId, long commerceCatalogGroupId, long commerceChannelGroupId, BigDecimal minStockQuantity, String sku, String unitOfMeasureKey)
    • getStockQuantity

      BigDecimal getStockQuantity(long companyId, long accountEntryId, long commerceCatalogGroupId, long commerceChannelGroupId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getStockQuantity

      BigDecimal getStockQuantity(long companyId, long commerceCatalogGroupId, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • hasStockQuantity

      boolean hasStockQuantity(long companyId, long commerceCatalogGroupId, BigDecimal quantity, String sku, String unitOfMeasureKey)
    • increaseStockQuantity

      void increaseStockQuantity(long userId, long commerceCatalogGroupId, long commerceInventoryWarehouseId, BigDecimal quantity, String sku, String unitOfMeasureKey) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException