Source for file Driver.php
Documentation is available at Driver.php
interface Payment_Process2_Result_Driver {
* @param string $rawResponse The raw response data returned by the http client typically during Payment_Process2_Driver::process()
* @param Payment_Process2_Driver A payment process driver of some description, typically of the same class.
public function __construct ($rawResponse, Payment_Process2_Common $request);
public function validate ();
* Parse the result and populate the appropriate fields in this object
* @author Joe Stump <joe@joestump.net>
* Return a code constant.
* Must be called after parse()
* @return Payment_Process2::RESULT_*
public function getCode ();
* Return a human readable message.
* Must be called after parse()
public function getMessage ();
public function getAVSCode ();
public function getAVSMessage ();
public function getCvvCode ();
public function getCvvMessage ();
* Maps an array of data parsed from the response
* and populates internal fields.
* @todo Destroy this method in favor of a per-child, simpler way
function _mapFields ($responseArray);
Documentation generated on Mon, 11 Mar 2019 15:40:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|