PHP 클래스 Ondrejnov\EET\Dispatcher

파일 보기 프로젝트 열기: ondrejnov/eet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$trace boolean

공개 메소드들

메소드 설명
__construct ( $service, string $key, string $cert )
check ( Receipt $receipt ) : boolean | string
getCheckCodes ( Receipt $receipt ) : array
getConnectionTime ( boolean $tillLastRequest = FALSE ) : float
getLastRequestSize ( ) : integer
getLastResponseSize ( ) : integer
getLastResponseTime ( ) : float
getSoapClient ( ) : SoapClient Get (or if not exists: initialize and get) SOAP client.
prepareData ( $receipt, $check = FALSE )
send ( Receipt $receipt, boolean $check = FALSE ) : boolean | string

비공개 메소드들

메소드 설명
checkRequirements ( ) : void
initSoapClient ( ) : void Require to initialize a new SOAP client for a new request.
processData ( Receipt $receipt, boolean $check = FALSE ) : object
processError ( $error )
throwTraceNotEnabled ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $service, string $key, string $cert )
$key string
$cert string

check() 공개 메소드

public check ( Receipt $receipt ) : boolean | string
$receipt Receipt
리턴 boolean | string

getCheckCodes() 공개 메소드

public getCheckCodes ( Receipt $receipt ) : array
$receipt Receipt
리턴 array

getConnectionTime() 공개 메소드

public getConnectionTime ( boolean $tillLastRequest = FALSE ) : float
$tillLastRequest boolean optional If not set/FALSE connection time till now is returned.
리턴 float

getLastRequestSize() 공개 메소드

public getLastRequestSize ( ) : integer
리턴 integer

getLastResponseSize() 공개 메소드

public getLastResponseSize ( ) : integer
리턴 integer

getLastResponseTime() 공개 메소드

public getLastResponseTime ( ) : float
리턴 float time in ms

getSoapClient() 공개 메소드

Get (or if not exists: initialize and get) SOAP client.
public getSoapClient ( ) : SoapClient
리턴 SoapClient

prepareData() 공개 메소드

public prepareData ( $receipt, $check = FALSE )

send() 공개 메소드

public send ( Receipt $receipt, boolean $check = FALSE ) : boolean | string
$receipt Receipt
$check boolean
리턴 boolean | string

프로퍼티 상세

$trace 공개적으로 프로퍼티

public bool $trace
리턴 boolean