Interface VerifoneRequestResponseTransformer

    • Method Detail

      • canHandle

        boolean canHandle​(String transactionType)
        Checks if this transformer can handle the specified transaction type.
        Parameters:
        transactionType - the transaction type of the request
        Returns:
        true if this transformer can be used for the specified request
      • populatePaymentResponse

        com.broadleafcommerce.paymentgateway.domain.PaymentResponse populatePaymentResponse​(VerifonePaymentRequest verifonePaymentRequest,
                                                                                            com.broadleafcommerce.paymentgateway.domain.PaymentResponse paymentResponse,
                                                                                            Map<String,​Object> verifoneResponse)
        Populates the payment response based on the response from the Verifone API.
        Parameters:
        verifonePaymentRequest - the verifone payment request
        paymentResponse - the payment response to populate
        verifoneResponse - the response from Verifone API
        Returns:
        the populated payment response
        Throws:
        VerifoneResponseInterpretationException - when a problem is encountered while converting a Verifone API response into a PaymentResponse