Interface CPDefinitionInventoryEngine


public interface CPDefinitionInventoryEngine
  • Method Details

    • getAllowedOrderQuantities

      String[] getAllowedOrderQuantities(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAvailabilityEstimate

      String getAvailabilityEstimate(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKey

      String getKey()
    • getLabel

      String getLabel(Locale locale)
    • getMaxOrderQuantity

      BigDecimal getMaxOrderQuantity(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getMinOrderQuantity

      BigDecimal getMinOrderQuantity(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getMinStockQuantity

      BigDecimal getMinStockQuantity(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getMultipleOrderQuantity

      BigDecimal getMultipleOrderQuantity(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isBackOrderAllowed

      boolean isBackOrderAllowed(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isDisplayAvailability

      boolean isDisplayAvailability(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isDisplayStockQuantity

      boolean isDisplayStockQuantity(long cpConfigurationListId, com.liferay.commerce.product.model.CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException