Bump stripe-php from 16.4.0 to 17.2.1

This commit is contained in:
johnnyq
2025-05-22 12:37:35 -04:00
parent 5361391b3b
commit 6a368840fa
332 changed files with 4978 additions and 4624 deletions

View File

@@ -25,12 +25,12 @@ class Feature extends \Stripe\ApiResource
/**
* Creates a feature.
*
* @param null|array $params
* @param null|array{expand?: string[], lookup_key: string, metadata?: array<string, string>, name: string} $params
* @param null|array|string $options
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return Feature the created resource
*
* @return \Stripe\Entitlements\Feature the created resource
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function create($params = null, $options = null)
{
@@ -47,12 +47,12 @@ class Feature extends \Stripe\ApiResource
/**
* Retrieve a list of features.
*
* @param null|array $params
* @param null|array{archived?: bool, ending_before?: string, expand?: string[], limit?: int, lookup_key?: string, starting_after?: string} $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return \Stripe\Collection<Feature> of ApiResources
*
* @return \Stripe\Collection<\Stripe\Entitlements\Feature> of ApiResources
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function all($params = null, $opts = null)
{
@@ -67,9 +67,9 @@ class Feature extends \Stripe\ApiResource
* @param array|string $id the ID of the API resource to retrieve, or an options array containing an `id` key
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return Feature
*
* @return \Stripe\Entitlements\Feature
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function retrieve($id, $opts = null)
{
@@ -84,12 +84,12 @@ class Feature extends \Stripe\ApiResource
* Update a features metadata or permanently deactivate it.
*
* @param string $id the ID of the resource to update
* @param null|array $params
* @param null|array{active?: bool, expand?: string[], metadata?: null|array<string, string>, name?: string} $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return Feature the updated resource
*
* @return \Stripe\Entitlements\Feature the updated resource
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function update($id, $params = null, $opts = null)
{