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

@@ -19,8 +19,8 @@ namespace Stripe\Treasury;
* @property string $network The rails used to reverse the funds.
* @property string $received_credit The ReceivedCredit being reversed.
* @property string $status Status of the CreditReversal
* @property \Stripe\StripeObject $status_transitions
* @property null|string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object.
* @property (object{posted_at: null|int}&\Stripe\StripeObject) $status_transitions
* @property null|string|Transaction $transaction The Transaction associated with this object.
*/
class CreditReversal extends \Stripe\ApiResource
{
@@ -36,12 +36,12 @@ class CreditReversal extends \Stripe\ApiResource
/**
* Reverses a ReceivedCredit and creates a CreditReversal object.
*
* @param null|array $params
* @param null|array{expand?: string[], metadata?: array<string, string>, received_credit: string} $params
* @param null|array|string $options
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return CreditReversal the created resource
*
* @return \Stripe\Treasury\CreditReversal the created resource
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function create($params = null, $options = null)
{
@@ -58,12 +58,12 @@ class CreditReversal extends \Stripe\ApiResource
/**
* Returns a list of CreditReversals.
*
* @param null|array $params
* @param null|array{ending_before?: string, expand?: string[], financial_account: string, limit?: int, received_credit?: string, starting_after?: string, status?: string} $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return \Stripe\Collection<CreditReversal> of ApiResources
*
* @return \Stripe\Collection<\Stripe\Treasury\CreditReversal> of ApiResources
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function all($params = null, $opts = null)
{
@@ -80,9 +80,9 @@ class CreditReversal 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 CreditReversal
*
* @return \Stripe\Treasury\CreditReversal
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function retrieve($id, $opts = null)
{