PHP Класс Cartalyst\Stripe\Api\Sources

Наследование: extends Api
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

all() публичный метод

Lists all sources from the given customer.
public all ( string $customerId, array $parameters = [] ) : array
$customerId string
$parameters array
Результат array

create() публичный метод

Creates a new source on the given customer.
public create ( string $customerId, string | array $parameters = [] ) : array
$customerId string
$parameters string | array
Результат array

delete() публичный метод

Deletes an existing source from the given customer.
public delete ( string $customerId, string $sourceId ) : array
$customerId string
$sourceId string
Результат array

find() публичный метод

Retrieves an existing source from the given customer.
public find ( string $customerId, string $sourceId ) : array
$customerId string
$sourceId string
Результат array

update() публичный метод

Updates an existing source from the given customer.
public update ( string $customerId, string $sourceId, array $parameters = [] ) : array
$customerId string
$sourceId string
$parameters array
Результат array