PHP 클래스 Cartalyst\Stripe\Api\Sources

상속: extends Api
파일 보기 프로젝트 열기: cartalyst/stripe

공개 메소드들

메소드 설명
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