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 Summary

    Modifier and Type
    Method
    Description
    void
    Method check if request is supported and throws exception if not
    boolean
    Method check if request is supported
  • Method Details

    • isRequestSupported

      boolean isRequestSupported(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(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