PHP Interface Pop\Payment\Adapter\AdapterInterface

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

Méthodes publiques

Méthode Description
getCode ( string $key ) : string Get specific response code from a field in the array
getMessage ( ) : integer Get response message
getResponse ( ) : string Get raw response
getResponseCode ( ) : string Get response code
getResponseCodes ( ) : array Get response codes
isApproved ( ) : boolean Return whether the transaction is approved
isDeclined ( ) : boolean Return whether the transaction is declined
isError ( ) : boolean Return whether the transaction is an error
isTest ( ) : boolean Return whether currently set to test environment
isValid ( ) : boolean Return whether transaction data is valid
send ( boolean $verifyPeer = true ) : mixed Send transaction

Method Details

getCode() public méthode

Get specific response code from a field in the array
public getCode ( string $key ) : string
$key string
Résultat string

getMessage() public méthode

Get response message
public getMessage ( ) : integer
Résultat integer

getResponse() public méthode

Get raw response
public getResponse ( ) : string
Résultat string

getResponseCode() public méthode

Get response code
public getResponseCode ( ) : string
Résultat string

getResponseCodes() public méthode

Get response codes
public getResponseCodes ( ) : array
Résultat array

isApproved() public méthode

Return whether the transaction is approved
public isApproved ( ) : boolean
Résultat boolean

isDeclined() public méthode

Return whether the transaction is declined
public isDeclined ( ) : boolean
Résultat boolean

isError() public méthode

Return whether the transaction is an error
public isError ( ) : boolean
Résultat boolean

isTest() public méthode

Return whether currently set to test environment
public isTest ( ) : boolean
Résultat boolean

isValid() public méthode

Return whether transaction data is valid
public isValid ( ) : boolean
Résultat boolean

send() public méthode

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