PHP Class Cartalyst\Stripe\Api\Refunds

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

Méthodes publiques

Méthode Description
all ( string $chargeId, array $parameters = [] ) : array Lists all refunds for the given charge.
create ( string $chargeId, integer $amount = null, array $parameters = [] ) : array Creates a new refund for the given charge.
find ( string $chargeId, string $refundId ) : array Retrieves an existing refund from the given charge.
update ( string $chargeId, string $refundId, array $parameters = [] ) : array Updates an existing refund on the given charge.

Method Details

all() public méthode

Lists all refunds for the given charge.
public all ( string $chargeId, array $parameters = [] ) : array
$chargeId string
$parameters array
Résultat array

create() public méthode

Creates a new refund for the given charge.
public create ( string $chargeId, integer $amount = null, array $parameters = [] ) : array
$chargeId string
$amount integer
$parameters array
Résultat array

find() public méthode

Retrieves an existing refund from the given charge.
public find ( string $chargeId, string $refundId ) : array
$chargeId string
$refundId string
Résultat array

update() public méthode

Updates an existing refund on the given charge.
public update ( string $chargeId, string $refundId, array $parameters = [] ) : array
$chargeId string
$refundId string
$parameters array
Résultat array