PHP 클래스 Cartalyst\Stripe\Api\Customers

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

공개 메소드들

메소드 설명
all ( array $parameters = [] ) : array Lists all customers.
applyDiscount ( string $customerId, string $couponId ) : array Applies the given discount on the given customer.
create ( array $parameters = [] ) : array Creates a new customer.
delete ( string $customerId ) : array Deletes an existing customer.
deleteDiscount ( string $customerId ) : array Deletes an existing customer discount.
find ( string $customerId ) : array Retrieves an existing customer.
update ( string $customerId, array $parameters = [] ) : array Updates an existing customer.

메소드 상세

all() 공개 메소드

Lists all customers.
public all ( array $parameters = [] ) : array
$parameters array
리턴 array

applyDiscount() 공개 메소드

Applies the given discount on the given customer.
public applyDiscount ( string $customerId, string $couponId ) : array
$customerId string
$couponId string
리턴 array

create() 공개 메소드

Creates a new customer.
public create ( array $parameters = [] ) : array
$parameters array
리턴 array

delete() 공개 메소드

Deletes an existing customer.
public delete ( string $customerId ) : array
$customerId string
리턴 array

deleteDiscount() 공개 메소드

Deletes an existing customer discount.
public deleteDiscount ( string $customerId ) : array
$customerId string
리턴 array

find() 공개 메소드

Retrieves an existing customer.
public find ( string $customerId ) : array
$customerId string
리턴 array

update() 공개 메소드

Updates an existing customer.
public update ( string $customerId, array $parameters = [] ) : array
$customerId string
$parameters array
리턴 array