PHP Class Cartalyst\Stripe\Api\Sources

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

Méthodes publiques

Méthode Description
all ( string $customerId, array $parameters = [] ) : array Lists all sources from the given customer.
create ( string $customerId, string | array $parameters = [] ) : array Creates a new source on the given customer.
delete ( string $customerId, string $sourceId ) : array Deletes an existing source from the given customer.
find ( string $customerId, string $sourceId ) : array Retrieves an existing source from the given customer.
update ( string $customerId, string $sourceId, array $parameters = [] ) : array Updates an existing source from the given customer.

Method Details

all() public méthode

Lists all sources from the given customer.
public all ( string $customerId, array $parameters = [] ) : array
$customerId string
$parameters array
Résultat array

create() public méthode

Creates a new source on the given customer.
public create ( string $customerId, string | array $parameters = [] ) : array
$customerId string
$parameters string | array
Résultat array

delete() public méthode

Deletes an existing source from the given customer.
public delete ( string $customerId, string $sourceId ) : array
$customerId string
$sourceId string
Résultat array

find() public méthode

Retrieves an existing source from the given customer.
public find ( string $customerId, string $sourceId ) : array
$customerId string
$sourceId string
Résultat array

update() public méthode

Updates an existing source from the given customer.
public update ( string $customerId, string $sourceId, array $parameters = [] ) : array
$customerId string
$sourceId string
$parameters array
Résultat array