Interface CPAvailabilityChecker


public interface CPAvailabilityChecker
  • Method Details

    • check

      boolean check(long accountEntryId, long commerceChannelGroupId, CPInstance cpInstance, String unitOfMeasure, BigDecimal quantity) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isAvailable

      boolean isAvailable(long accountEntryId, long commerceChannelGroupId, CPInstance cpInstance, String unitOfMeasure, BigDecimal quantity) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isPurchasable

      boolean isPurchasable(CPInstance cpInstance) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException