PHP Class Cartalyst\Stripe\Api\Api

Inheritance: implements Cartalyst\Stripe\Api\ApiInterface
Afficher le fichier Open project: cartalyst/stripe

Protected Properties

Свойство Type Description
$config Cartalyst\Stripe\ConfigInterface The Config repository instance.
$perPage null | integer Number of items to return per page.

Méthodes publiques

Méthode Description
__construct ( Cartalyst\Stripe\ConfigInterface $config ) : void Constructor.
_delete ( $url = null, array $parameters = [] )
_get ( $url = null, $parameters = [] )
_head ( $url = null, array $parameters = [] )
_options ( $url = null, array $parameters = [] )
_patch ( $url = null, array $parameters = [] )
_post ( $url = null, array $parameters = [] )
_put ( $url = null, array $parameters = [] )
baseUrl ( )
execute ( $httpMethod, $url, array $parameters = [] )
getPerPage ( )
setPerPage ( $perPage )

Méthodes protégées

Méthode Description
createHandler ( ) : GuzzleHttp\HandlerStack Create the client handler.
getClient ( ) : Client Returns an Http client instance.

Method Details

__construct() public méthode

Constructor.
public __construct ( Cartalyst\Stripe\ConfigInterface $config ) : void
$config Cartalyst\Stripe\ConfigInterface
Résultat void

_delete() public méthode

public _delete ( $url = null, array $parameters = [] )
$parameters array

_get() public méthode

public _get ( $url = null, $parameters = [] )

_head() public méthode

public _head ( $url = null, array $parameters = [] )
$parameters array

_options() public méthode

public _options ( $url = null, array $parameters = [] )
$parameters array

_patch() public méthode

public _patch ( $url = null, array $parameters = [] )
$parameters array

_post() public méthode

public _post ( $url = null, array $parameters = [] )
$parameters array

_put() public méthode

public _put ( $url = null, array $parameters = [] )
$parameters array

baseUrl() public méthode

public baseUrl ( )

createHandler() protected méthode

Create the client handler.
protected createHandler ( ) : GuzzleHttp\HandlerStack
Résultat GuzzleHttp\HandlerStack

execute() public méthode

public execute ( $httpMethod, $url, array $parameters = [] )
$parameters array

getClient() protected méthode

Returns an Http client instance.
protected getClient ( ) : Client
Résultat GuzzleHttp\Client

getPerPage() public méthode

public getPerPage ( )

setPerPage() public méthode

public setPerPage ( $perPage )

Property Details

$config protected_oe property

The Config repository instance.
protected ConfigInterface,Cartalyst\Stripe $config
Résultat Cartalyst\Stripe\ConfigInterface

$perPage protected_oe property

Number of items to return per page.
protected null|int $perPage
Résultat null | integer