PHP Class Cartalyst\Stripe\Api\Charges

Inheritance: extends Api
Afficher le fichier Open project: cartalyst/stripe

Méthodes publiques

Méthode Description
all ( array $parameters = [] ) : array Lists all charges.
capture ( string $chargeId, integer $amount = null, array $parameters = [] ) : array Captures an existing charge.
create ( array $parameters = [] ) : array Creates a new charge.
find ( string $chargeId ) : array Retrieves an existing charge.
update ( string $chargeId, array $parameters = [] ) : array Updates an existing charge.

Method Details

all() public méthode

Lists all charges.
public all ( array $parameters = [] ) : array
$parameters array
Résultat array

capture() public méthode

Captures an existing charge.
public capture ( string $chargeId, integer $amount = null, array $parameters = [] ) : array
$chargeId string
$amount integer
$parameters array
Résultat array

create() public méthode

Creates a new charge.
public create ( array $parameters = [] ) : array
$parameters array
Résultat array

find() public méthode

Retrieves an existing charge.
public find ( string $chargeId ) : array
$chargeId string
Résultat array

update() public méthode

Updates an existing charge.
public update ( string $chargeId, array $parameters = [] ) : array
$chargeId string
$parameters array
Résultat array