PHP 인터페이스 Pop\Payment\Adapter\AdapterInterface

저자: Nick Sagona, III ([email protected])
파일 보기 프로젝트 열기: nicksagona/PopPHP

공개 메소드들

메소드 설명
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