Interface PaymentResponseInterpretationStrategy
-
- All Known Implementing Classes:
AbstractPaymentResponseInterpretationStrategy,CisPaymentResponseInterpretationStrategy,DefaultPaymentResponseInterpretationStrategy,HopPaymentResponseInterpretationStrategy
public interface PaymentResponseInterpretationStrategyStrategy for interpreting the response to a payment profile creation request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSubscriptionResultinterpretResponse(java.util.Map<java.lang.String,java.lang.String> responseParams, java.lang.String clientRef, java.util.Map<java.lang.String,PaymentErrorField> errors)This method defines how to interpret aCreateSubscriptionResultthat represents the set of parameters returned from of a profile creation request with an external payment service.
-
-
-
Method Detail
-
interpretResponse
CreateSubscriptionResult interpretResponse(java.util.Map<java.lang.String,java.lang.String> responseParams, java.lang.String clientRef, java.util.Map<java.lang.String,PaymentErrorField> errors)
This method defines how to interpret aCreateSubscriptionResultthat represents the set of parameters returned from of a profile creation request with an external payment service.- Parameters:
responseParams- - The response params necessary to complete payment profile creation with an external service.clientRef- - Unique identifier representing the client in a call to external services.errors- - Map of payment details errors populated by external service.
-
-