Class PaymentProviderRequestSupportedStrategy
java.lang.Object
de.hybris.platform.coretravelcommonsocc.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.commerceservices.order.CommercePaymentProviderStrategyGets payment provider strategy.Gets unsupported request map.booleanisRequestSupported(String requestId) Method check if request is supported.voidsetPaymentProviderStrategy(de.hybris.platform.commerceservices.order.CommercePaymentProviderStrategy paymentProviderStrategy) Sets payment provider strategy.voidsetUnsupportedRequestMap(Map<String, List<String>> unsupportedRequestMap) Sets unsupported request map.
-
Constructor Details
-
PaymentProviderRequestSupportedStrategy
public PaymentProviderRequestSupportedStrategy()
-
-
Method Details
-
isRequestSupported
Description copied from interface:RequestSupportedStrategyMethod check if request is supported.- Specified by:
isRequestSupportedin interfaceRequestSupportedStrategy- 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
Gets unsupported request map.- Returns:
- the unsupported request map
-
setUnsupportedRequestMap
Sets unsupported request map.- Parameters:
unsupportedRequestMap- the unsupported request map
-