Class PaymentProviderRequestSupportedStrategy

java.lang.Object
de.hybris.platform.coreairlinecommonsocc.request.support.impl.PaymentProviderRequestSupportedStrategy
All Implemented Interfaces:
RequestSupportedStrategy

public class PaymentProviderRequestSupportedStrategy extends Object implements RequestSupportedStrategy
Implementation for RequestSupportedStrategy which checks if request is supported based on payment provider name.
  • Constructor Details

    • PaymentProviderRequestSupportedStrategy

      public PaymentProviderRequestSupportedStrategy()
  • Method Details

    • isRequestSupported

      public boolean isRequestSupported(String requestId)
      Description copied from interface: RequestSupportedStrategy
      Method check if request is supported.
      Specified by:
      isRequestSupported in interface RequestSupportedStrategy
      Parameters:
      requestId - request identifier (e.g. request path)
      Returns:
      true if request is supported
      false if request is not supported
    • getPaymentProviderStrategy

      protected de.hybris.platform.commerceservices.order.CommercePaymentProviderStrategy getPaymentProviderStrategy()
      Gets payment provider strategy.
      Returns:
      the payment provider strategy
    • setPaymentProviderStrategy

      public void setPaymentProviderStrategy(de.hybris.platform.commerceservices.order.CommercePaymentProviderStrategy paymentProviderStrategy)
      Sets payment provider strategy.
      Parameters:
      paymentProviderStrategy - the payment provider strategy
    • getUnsupportedRequestMap

      protected Map<String,List<String>> getUnsupportedRequestMap()
      Gets unsupported request map.
      Returns:
      the unsupported request map
    • setUnsupportedRequestMap

      public void setUnsupportedRequestMap(Map<String,List<String>> unsupportedRequestMap)
      Sets unsupported request map.
      Parameters:
      unsupportedRequestMap - the unsupported request map