Payment_Process2
[ class tree: Payment_Process2 ] [ index: Payment_Process2 ] [ all elements ]

Class: Payment_Process2_Result_Transfirst

Source Location: /Payment_Process2-0.3.1/Payment/Process2/Result/Transfirst.php

Class Overview

Payment_Process2_Result
   |
   --Payment_Process2_Result_Transfirst

Payment_Process2_Result


Author(s):

Version:

  • Release: @package_version@

Methods


Inherited Variables

Inherited Methods


Class Details

[line 5]
Payment_Process2_Result

The core result class that should be returned from each driver's process() function. This should be exte33nded as Payment_Process2_Result_DriverName and then have the appropriate fields mapped out accordingly.

Take special care to appropriately create a parse() function in your result class. You can then call _mapFields() with a resultArray (ie. exploded result) to map your results from parse() into the member variables.

Please note that this class keeps your original codes intact so they can be accessed directly and then uses the function wrappers to return uniform Payment_Process codes.



[ Top ]


Method Detail

__construct (Constructor)   [line 151]

mixed __construct( string $rawResponse, Payment_Process2_Common $request)

Constructor.
  • Return: boolean true on success, PEAR_Error on failure

Overrides Payment_Process2_Result::__construct() (Class constructor)

Parameters:

string   $rawResponse   —  The raw response from the gateway
Payment_Process2_Common   $request   — 

[ Top ]

getAuthCharacteristic   [line 165]

void getAuthCharacteristic( )


[ Top ]

getAuthSource   [line 160]

void getAuthSource( )


[ Top ]

getCode   [line 170]

void getCode( )


Overrides Payment_Process2_Result::getCode() (getCode)
[ Top ]

parse   [line 183]

void parse( )

Parse Transfirst (DPILink) R1 response string.

This function parses the response the gateway sends back, which is in pipe-delimited format.


[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.