PHP Интерфейс Pop\Payment\Adapter\AdapterInterface

Автор: Nick Sagona, III ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

getCode() публичный Метод

Get specific response code from a field in the array
public getCode ( string $key ) : string
$key string
Результат string

getMessage() публичный Метод

Get response message
public getMessage ( ) : integer
Результат integer

getResponse() публичный Метод

Get raw response
public getResponse ( ) : string
Результат string

getResponseCode() публичный Метод

Get response code
public getResponseCode ( ) : string
Результат string

getResponseCodes() публичный Метод

Get response codes
public getResponseCodes ( ) : array
Результат array

isApproved() публичный Метод

Return whether the transaction is approved
public isApproved ( ) : boolean
Результат boolean

isDeclined() публичный Метод

Return whether the transaction is declined
public isDeclined ( ) : boolean
Результат boolean

isError() публичный Метод

Return whether the transaction is an error
public isError ( ) : boolean
Результат boolean

isTest() публичный Метод

Return whether currently set to test environment
public isTest ( ) : boolean
Результат boolean

isValid() публичный Метод

Return whether transaction data is valid
public isValid ( ) : boolean
Результат boolean

send() публичный Метод

Send transaction
public send ( boolean $verifyPeer = true ) : mixed
$verifyPeer boolean
Результат mixed