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

@@ -17,7 +17,7 @@ namespace Stripe\TestHelpers;
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
* @property null|string $name The custom name supplied at creation.
* @property string $status The status of the Test Clock.
* @property \Stripe\StripeObject $status_details
* @property (object{advancing?: (object{target_frozen_time: int}&\Stripe\StripeObject)}&\Stripe\StripeObject) $status_details
*/
class TestClock extends \Stripe\ApiResource
{
@@ -30,12 +30,12 @@ class TestClock extends \Stripe\ApiResource
/**
* Creates a new test clock that can be attached to new customers and quotes.
*
* @param null|array $params
* @param null|array{expand?: string[], frozen_time: int, name?: string} $params
* @param null|array|string $options
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return TestClock the created resource
*
* @return \Stripe\TestHelpers\TestClock the created resource
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function create($params = null, $options = null)
{
@@ -55,9 +55,9 @@ class TestClock extends \Stripe\ApiResource
* @param null|array $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return TestClock the deleted resource
*
* @return \Stripe\TestHelpers\TestClock the deleted resource
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function delete($params = null, $opts = null)
{
@@ -73,12 +73,12 @@ class TestClock extends \Stripe\ApiResource
/**
* Returns a list of your test clocks.
*
* @param null|array $params
* @param null|array{ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return \Stripe\Collection<TestClock> of ApiResources
*
* @return \Stripe\Collection<\Stripe\TestHelpers\TestClock> of ApiResources
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function all($params = null, $opts = null)
{
@@ -93,9 +93,9 @@ class TestClock 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 TestClock
*
* @return \Stripe\TestHelpers\TestClock
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function retrieve($id, $opts = null)
{
@@ -110,9 +110,9 @@ class TestClock extends \Stripe\ApiResource
* @param null|array $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return TestClock the advanced test clock
*
* @return \Stripe\TestHelpers\TestClock the advanced test clock
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public function advance($params = null, $opts = null)
{