Files
Chamilo/vendor/stripe/stripe-php/lib/StripeClientInterface.php
T
Xes 73154ae174
Behat tests 1.11.x 🐞 / PHP 7.4 Test on ubuntu-latest (push) Canceled after 0s
PHP-CS-Fixer / composer_install (7.4) (push) Canceled after 0s
Chamilo 1.11.40 (ZIP oficial v1.11.40)
Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip
sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439
Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
2026-08-06 17:59:45 +02:00

46 lines
1.5 KiB
PHP

<?php
namespace Stripe;
/**
* Interface for a Stripe client.
*/
interface StripeClientInterface extends BaseStripeClientInterface
{
/**
* Sends a request to Stripe's API.
*
* @param 'delete'|'get'|'post' $method the HTTP method
* @param string $path the path of the request
* @param array $params the parameters of the request
* @param array|Util\RequestOptions $opts the special modifiers of the request
*
* @return StripeObject the object returned by Stripe's API
*/
public function request($method, $path, $params, $opts);
/**
* Sends a request to Stripe's API and expects to return a SearchResult.
*
* @param 'get' $method the HTTP method
* @param string $path the path of the request
* @param array $params the parameters of the request
* @param array|Util\RequestOptions $opts the special modifiers of the request
*
* @return SearchResult of ApiResources
*/
public function requestSearchResult($method, $path, $params, $opts);
/**
* Sends a request to Stripe's API and expects to return a Collection|V2\Collection.
*
* @param 'get' $method the HTTP method
* @param string $path the path of the request
* @param array $params the parameters of the request
* @param array|Util\RequestOptions $opts the special modifiers of the request
*
* @return Collection|V2\Collection of ApiResources
*/
public function requestCollection($method, $path, $params, $opts);
}