Interface CommerceOptionType


public interface CommerceOptionType
  • Method Details

    • getKey

      String getKey()
    • getLabel

      String getLabel(Locale locale)
    • hasValues

      boolean hasValues()
    • isActive

      default boolean isActive()
    • isValid

      default boolean isValid(CPDefinitionOptionRel cpDefinitionOptionRel, String[] values) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • render

      void render(CPDefinitionOptionRel cpDefinitionOptionRel, long defaultCPInstanceId, boolean forceRequired, String json, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws Exception
      Throws:
      Exception