PHP 인터페이스 Cartalyst\Stripe\Api\ApiInterface

파일 보기 프로젝트 열기: cartalyst/stripe 0 사용 예제들

공개 메소드들

메소드 설명
_delete ( string $url = null, array $parameters = [] ) : array Send a DELETE request.
_get ( string $url = null, array $parameters = [] ) : array Send a GET request.
_head ( string $url = null, array $parameters = [] ) : array Send a HEAD request.
_options ( string $url = null, array $parameters = [] ) : array Send an OPTIONS request.
_patch ( string $url = null, array $parameters = [] ) : array Send a PATCH request.
_post ( string $url = null, array $parameters = [] ) : array Send a POST request.
_put ( string $url = null, array $parameters = [] ) : array Send a PUT request.
baseUrl ( ) : string Returns the API base url.
execute ( string $httpMethod, string $url, array $parameters = [] ) : array Executes the HTTP request.
getPerPage ( ) : void Returns the number of items to return per page.
setPerPage ( integer $perPage ) Sets the number of items to return per page.

메소드 상세

_delete() 공개 메소드

Send a DELETE request.
public _delete ( string $url = null, array $parameters = [] ) : array
$url string
$parameters array
리턴 array

_get() 공개 메소드

Send a GET request.
public _get ( string $url = null, array $parameters = [] ) : array
$url string
$parameters array
리턴 array

_head() 공개 메소드

Send a HEAD request.
public _head ( string $url = null, array $parameters = [] ) : array
$url string
$parameters array
리턴 array

_options() 공개 메소드

Send an OPTIONS request.
public _options ( string $url = null, array $parameters = [] ) : array
$url string
$parameters array
리턴 array

_patch() 공개 메소드

Send a PATCH request.
public _patch ( string $url = null, array $parameters = [] ) : array
$url string
$parameters array
리턴 array

_post() 공개 메소드

Send a POST request.
public _post ( string $url = null, array $parameters = [] ) : array
$url string
$parameters array
리턴 array

_put() 공개 메소드

Send a PUT request.
public _put ( string $url = null, array $parameters = [] ) : array
$url string
$parameters array
리턴 array

baseUrl() 공개 메소드

Returns the API base url.
public baseUrl ( ) : string
리턴 string

execute() 공개 메소드

Executes the HTTP request.
public execute ( string $httpMethod, string $url, array $parameters = [] ) : array
$httpMethod string
$url string
$parameters array
리턴 array

getPerPage() 공개 메소드

Returns the number of items to return per page.
public getPerPage ( ) : void
리턴 void

setPerPage() 공개 메소드

Sets the number of items to return per page.
public setPerPage ( integer $perPage )
$perPage integer