mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -6,6 +6,7 @@ namespace Stripe\Service\V2\Billing;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class MeterEventAdjustmentService extends \Stripe\Service\AbstractService
|
||||
@@ -13,12 +14,12 @@ class MeterEventAdjustmentService extends \Stripe\Service\AbstractService
|
||||
/**
|
||||
* Creates a meter event adjustment to cancel a previously sent meter event.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{cancel: array{identifier: string}, event_name: string, type: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\Billing\MeterEventAdjustment
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Stripe\Service\V2\Billing;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class MeterEventService extends \Stripe\Service\AbstractService
|
||||
@@ -15,12 +16,12 @@ class MeterEventService extends \Stripe\Service\AbstractService
|
||||
* asynchronously. Supports up to 1,000 events per second in livemode. For higher
|
||||
* rate-limits, please use meter event streams instead.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{event_name: string, identifier?: string, payload: array<string, string>, timestamp?: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\Billing\MeterEvent
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Stripe\Service\V2\Billing;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class MeterEventSessionService extends \Stripe\Service\AbstractService
|
||||
@@ -18,9 +19,9 @@ class MeterEventSessionService extends \Stripe\Service\AbstractService
|
||||
* @param null|array $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\Billing\MeterEventSession
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ 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
|
||||
@@ -15,12 +16,12 @@ class MeterEventStreamService extends \Stripe\Service\AbstractService
|
||||
* 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|array{events: array{event_name: string, identifier?: string, payload: array<string, string>, timestamp?: string}[]} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\TemporarySessionExpiredException
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws \Stripe\Exception\TemporarySessionExpiredException
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Stripe\Service\V2\Core;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
@@ -13,12 +14,12 @@ class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
/**
|
||||
* Lists all event destinations.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{include?: string[], limit?: int} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\Collection<\Stripe\V2\EventDestination>
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -28,12 +29,12 @@ class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
/**
|
||||
* Create a new event destination.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{description?: string, enabled_events: string[], event_payload: string, events_from?: string[], include?: string[], metadata?: array<string, string>, name: string, snapshot_api_version?: string, type: string, amazon_eventbridge?: array{aws_account_id: string, aws_region: string}, webhook_endpoint?: array{url: string}} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\EventDestination
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
@@ -47,9 +48,9 @@ class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
* @param null|array $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\EventDestination
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function delete($id, $params = null, $opts = null)
|
||||
{
|
||||
@@ -63,9 +64,9 @@ class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
* @param null|array $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\EventDestination
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function disable($id, $params = null, $opts = null)
|
||||
{
|
||||
@@ -79,9 +80,9 @@ class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
* @param null|array $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\EventDestination
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function enable($id, $params = null, $opts = null)
|
||||
{
|
||||
@@ -95,9 +96,9 @@ class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
* @param null|array $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\Event
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function ping($id, $params = null, $opts = null)
|
||||
{
|
||||
@@ -108,12 +109,12 @@ class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
* Retrieves the details of an event destination.
|
||||
*
|
||||
* @param string $id
|
||||
* @param null|array $params
|
||||
* @param null|array{include?: string[]} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\EventDestination
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function retrieve($id, $params = null, $opts = null)
|
||||
{
|
||||
@@ -124,12 +125,12 @@ class EventDestinationService extends \Stripe\Service\AbstractService
|
||||
* Update the details of an event destination.
|
||||
*
|
||||
* @param string $id
|
||||
* @param null|array $params
|
||||
* @param null|array{description?: string, enabled_events?: string[], include?: string[], metadata?: array<string, null|string>, name?: string, webhook_endpoint?: array{url: string}} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\EventDestination
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function update($id, $params = null, $opts = null)
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Stripe\Service\V2\Core;
|
||||
|
||||
/**
|
||||
* @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*
|
||||
* @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions
|
||||
*/
|
||||
class EventService extends \Stripe\Service\AbstractService
|
||||
@@ -13,12 +14,12 @@ class EventService extends \Stripe\Service\AbstractService
|
||||
/**
|
||||
* List events, going back up to 30 days.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array{limit?: int, object_id: string} $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\Collection<\Stripe\V2\Event>
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -32,9 +33,9 @@ class EventService extends \Stripe\Service\AbstractService
|
||||
* @param null|array $params
|
||||
* @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\V2\Event
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*/
|
||||
public function retrieve($id, $params = null, $opts = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user