PHP Class Cartalyst\Stripe\Api\Orders

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

Méthodes publiques

Méthode Description
all ( array $parameters = [] ) : array Returns a list of all the orders.
create ( array $parameters = [] ) : array Creates a new order.
find ( string $orderId ) : array Retrieves an existing order.
pay ( string $orderId, array $parameters = [] ) : array Pays the given order.
returnItems ( string $orderId, array $items = [] ) : array Returns the given order.
update ( string $orderId, array $parameters = [] ) : array Updates an existing order.

Method Details

all() public méthode

Returns a list of all the orders.
public all ( array $parameters = [] ) : array
$parameters array
Résultat array

create() public méthode

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

find() public méthode

Retrieves an existing order.
public find ( string $orderId ) : array
$orderId string
Résultat array

pay() public méthode

Pays the given order.
public pay ( string $orderId, array $parameters = [] ) : array
$orderId string
$parameters array
Résultat array

returnItems() public méthode

Returns the given order.
public returnItems ( string $orderId, array $items = [] ) : array
$orderId string
$items array
Résultat array

update() public méthode

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