Interface CommerceDiscountValidatorHelper


public interface CommerceDiscountValidatorHelper
  • Method Details

    • checkValid

      void checkValid(com.liferay.commerce.context.CommerceContext commerceContext, CommerceDiscount commerceDiscount, String... types) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isValid

      boolean isValid(com.liferay.commerce.context.CommerceContext commerceContext, CommerceDiscount commerceDiscount, String... types) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • validate

      List<CommerceDiscountValidatorResult> validate(com.liferay.commerce.context.CommerceContext commerceContext, CommerceDiscount commerceDiscount, String... types) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException