Interface PaymentResponseInterpretationStrategy

    • 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 a CreateSubscriptionResult that 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.