Interface PaymentGatewayResolver
-
public interface PaymentGatewayResolver
- Author:
- Elbert Bautista (elbertbautista)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isHandlerCompatible(PaymentGatewayType handlerType)
Used by Transparent Redirect Solutions that utilize Thymeleaf Processors and Expressions.PaymentGatewayType
resolvePaymentGateway(org.springframework.web.context.request.WebRequest request)
Resolves aPaymentGatewayType
based 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 aPaymentGatewayType
based on aWebRequest
- Parameters:
request
-- Returns:
-
-