PHP Class Cartalyst\Stripe\Api\Plans

Inheritance: extends Api
Show file Open project: cartalyst/stripe

Public Methods

Method Description
all ( array $parameters = [] ) : array Lists all plans.
create ( array $parameters = [] ) : array Creates a new plan.
delete ( string $planId ) : array Deletes an existing plan.
find ( string $planId ) : array Retrieves an existing plan.
update ( string $planId, array $parameters = [] ) : array Updates an existing plan.

Method Details

all() public method

Lists all plans.
public all ( array $parameters = [] ) : array
$parameters array
return array

create() public method

Creates a new plan.
public create ( array $parameters = [] ) : array
$parameters array
return array

delete() public method

Deletes an existing plan.
public delete ( string $planId ) : array
$planId string
return array

find() public method

Retrieves an existing plan.
public find ( string $planId ) : array
$planId string
return array

update() public method

Updates an existing plan.
public update ( string $planId, array $parameters = [] ) : array
$planId string
$parameters array
return array