mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user