Interface PaymentGatewayResolver
-
public interface PaymentGatewayResolver- Author:
- Elbert Bautista (elbertbautista)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisHandlerCompatible(PaymentGatewayType handlerType)Used by Transparent Redirect Solutions that utilize Thymeleaf Processors and Expressions.PaymentGatewayTyperesolvePaymentGateway(org.springframework.web.context.request.WebRequest request)Resolves aPaymentGatewayTypebased on aWebRequest
-
-
-
Method Detail
-
isHandlerCompatible
boolean isHandlerCompatible(PaymentGatewayType handlerType)
Used by Transparent Redirect Solutions that utilize Thymeleaf Processors and Expressions. This method should determine whether or not an extension handler should run for a particular gateway.- Parameters:
handlerType-- Returns:
-
resolvePaymentGateway
PaymentGatewayType resolvePaymentGateway(org.springframework.web.context.request.WebRequest request)
Resolves aPaymentGatewayTypebased on aWebRequest- Parameters:
request-- Returns:
-
-