PHP Class Pop\Payment\Adapter\TrustCommerce

Author: Nick Sagona, III ([email protected])
Inheritance: extends AbstractAdapter
Afficher le fichier Open project: nicksagona/PopPHP

Protected Properties

Свойство Type Description
$custId string Customer ID
$fields array Transaction fields for normalization purposes
$password string Password
$requiredFields array Required fields
$transaction array Transaction data
$url string URL

Méthodes publiques

Méthode Description
__construct ( string $custId, string $password, boolean $test = false ) : TrustCommerce Constructor
send ( boolean $verifyPeer = true ) : void Send transaction

Méthodes protégées

Méthode Description
buildPostString ( ) : string Build the POST string
parseResponseCodes ( ) : array Parse the response codes

Method Details

__construct() public méthode

Method to instantiate an TrustCommerce payment adapter object
public __construct ( string $custId, string $password, boolean $test = false ) : TrustCommerce
$custId string
$password string
$test boolean
Résultat TrustCommerce

buildPostString() protected méthode

Build the POST string
protected buildPostString ( ) : string
Résultat string

parseResponseCodes() protected méthode

Parse the response codes
protected parseResponseCodes ( ) : array
Résultat array

send() public méthode

Send transaction
public send ( boolean $verifyPeer = true ) : void
$verifyPeer boolean
Résultat void

Property Details

$custId protected_oe property

Customer ID
protected string $custId
Résultat string

$fields protected_oe property

Transaction fields for normalization purposes
protected array $fields
Résultat array

$password protected_oe property

Password
protected string $password
Résultat string

$requiredFields protected_oe property

Required fields
protected array $requiredFields
Résultat array

$transaction protected_oe property

Transaction data
protected array $transaction
Résultat array

$url protected_oe property

URL
protected string $url
Résultat string