PHP Class Ogone\AbstractResponse

Inheritance: implements ogone\Response
显示文件 Open project: marlon-be/marlon-ogone

Protected Properties

Property Type Description
$ogoneFields array Available Ogone parameters
$parameters array
$shaSign string

Public Methods

Method Description
__construct ( array $httpRequest )
getParam ( string $key ) Retrieves a response parameter
toArray ( ) : array Get all parameters + SHASIGN

Protected Methods

Method Description
extractShaSign ( array $parameters ) Set Ogone SHA sign
filterRequestParameters ( array $requestParameters ) : array Filter http request parameters

Method Details

__construct() public method

public __construct ( array $httpRequest )
$httpRequest array Typically $_REQUEST

extractShaSign() protected method

Set Ogone SHA sign
protected extractShaSign ( array $parameters )
$parameters array

filterRequestParameters() protected method

Filter http request parameters
protected filterRequestParameters ( array $requestParameters ) : array
$requestParameters array
return array

getParam() public method

Retrieves a response parameter
public getParam ( string $key )
$key string

toArray() public method

Get all parameters + SHASIGN
public toArray ( ) : array
return array

Property Details

$ogoneFields protected_oe property

Available Ogone parameters
protected array $ogoneFields
return array

$parameters protected_oe property

protected array $parameters
return array

$shaSign protected_oe property

protected string $shaSign
return string