PHP Class Cartalyst\Stripe\Pager

Datei anzeigen Open project: cartalyst/stripe

Protected Properties

Property Type Description
$api Cartalyst\Stripe\Api\ApiInterface The Api instance.
$nextToken array The next request token.

Public Methods

Method Description
__construct ( Cartalyst\Stripe\Api\ApiInterface $api ) : void Constructor.
fetch ( array $parameters = [] ) : array Fetches all the objects of the given api.

Protected Methods

Method Description
processRequest ( array $parameters = [] ) : array Processes the api request.

Method Details

__construct() public method

Constructor.
public __construct ( Cartalyst\Stripe\Api\ApiInterface $api ) : void
$api Cartalyst\Stripe\Api\ApiInterface
return void

fetch() public method

Fetches all the objects of the given api.
public fetch ( array $parameters = [] ) : array
$parameters array
return array

processRequest() protected method

Processes the api request.
protected processRequest ( array $parameters = [] ) : array
$parameters array
return array

Property Details

$api protected_oe property

The Api instance.
protected ApiInterface,Cartalyst\Stripe\Api $api
return Cartalyst\Stripe\Api\ApiInterface

$nextToken protected_oe property

The next request token.
protected array $nextToken
return array