Interface PaymentResponseUtil

    • Method Detail

      • buildPaymentResponse

        PaymentResponse buildPaymentResponse​(@NonNull
                                             @NonNull PaymentRequest paymentRequest,
                                             @NonNull
                                             @NonNull PaymentGatewayType gatewayType,
                                             @NonNull
                                             @NonNull TransactionType transactionType)
        Builds and populates a PaymentResponse based on the provided PaymentRequest
        Parameters:
        paymentRequest - the PaymentRequest used to initiate the related transaction
        gatewayType - the type of gateway used to execute the transaction
        transactionType - the type of transaction that was executed
        Returns:
        a PaymentResponse populated based on the provided PaymentRequest