Interface RequestSupportedStrategy

  • All Known Implementing Classes:
    PaymentProviderRequestSupportedStrategy

    public interface RequestSupportedStrategy
    Interface for checking if request is supported in current configuration (e.g. for current base store, for payment provider)
    • Method Detail

      • isRequestSupported

        boolean isRequestSupported​(java.lang.String requestId)
        Method check if request is supported
        Parameters:
        requestId - request identifier (e.g. request path)
        Returns:
        true if request is supported
        false if request is not supported
      • checkIfRequestSupported

        void checkIfRequestSupported​(java.lang.String requestId)
                              throws UnsupportedRequestException
        Method check if request is supported and throws exception if not
        Parameters:
        requestId - request identifier (e.g. request path)
        Throws:
        UnsupportedRequestException - when request is not supported