Interface CommerceDiscountRuleType


public interface CommerceDiscountRuleType
  • Method Details

    • evaluate

      boolean evaluate(CommerceDiscountRule commerceDiscountRule, com.liferay.commerce.context.CommerceContext commerceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKey

      String getKey()
    • getLabel

      String getLabel(Locale locale)
    • validate

      boolean validate(String typeSettings)