mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump plugin stripe-php from 10.5.0 to 16.4.0 and update links
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
|
||||
namespace Stripe\Service\V2\Billing;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class MeterEventStreamService extends \Stripe\Service\AbstractService
|
||||
{
|
||||
/**
|
||||
* Creates meter events. Events are processed asynchronously, including validation.
|
||||
* Requires a meter event session for authentication. Supports up to 10,000
|
||||
* requests per second in livemode. For even higher rate-limits, contact sales.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\TemporarySessionExpiredException
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
$opts = \Stripe\Util\RequestOptions::parse($opts);
|
||||
if (!isset($opts->apiBase)) {
|
||||
$opts->apiBase = $this->getClient()->getMeterEventsBase();
|
||||
}
|
||||
$this->request('post', '/v2/billing/meter_event_stream', $params, $opts);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user