PHP 클래스 Payler

저자: Oleg Filimonov ([email protected])
파일 보기 프로젝트 열기: yupe/yupe 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Payment $payment )
getOrderIdFromHash ( CHttpRequest $request ) : string | boolean Gets the order ID from hash
getPaymentStatus ( CHttpRequest $request ) : string | boolean Gets the status of the current payment
getSessionId ( Order $order ) : string | boolean Starts a payment session and returns its ID
getUrl ( string $method ) : string Generate url

비공개 메소드들

메소드 설명
sendRequest ( array $data, string $method ) : boolean | mixed Sends a request to the server

메소드 상세

__construct() 공개 메소드

public __construct ( Payment $payment )
$payment Payment

getOrderIdFromHash() 공개 메소드

Gets the order ID from hash
public getOrderIdFromHash ( CHttpRequest $request ) : string | boolean
$request CHttpRequest
리턴 string | boolean

getPaymentStatus() 공개 메소드

Gets the status of the current payment
public getPaymentStatus ( CHttpRequest $request ) : string | boolean
$request CHttpRequest
리턴 string | boolean

getSessionId() 공개 메소드

Starts a payment session and returns its ID
public getSessionId ( Order $order ) : string | boolean
$order Order
리턴 string | boolean

getUrl() 공개 메소드

Generate url
public getUrl ( string $method ) : string
$method string Payler API method
리턴 string