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

@@ -14,14 +14,14 @@ namespace Stripe\Treasury;
* @property string $currency Three-letter <a href="https://www.iso.org/iso-4217-currency-codes.html">ISO currency code</a>, in lowercase. Must be a <a href="https://stripe.com/docs/currencies">supported currency</a>.
* @property null|string $financial_account The FinancialAccount to reverse funds from.
* @property null|string $hosted_regulatory_receipt_url A <a href="https://stripe.com/docs/treasury/moving-money/regulatory-receipts">hosted transaction receipt</a> URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
* @property null|\Stripe\StripeObject $linked_flows Other flows linked to a DebitReversal.
* @property null|(object{issuing_dispute: null|string}&\Stripe\StripeObject) $linked_flows Other flows linked to a DebitReversal.
* @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 \Stripe\StripeObject $metadata Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* @property string $network The rails used to reverse the funds.
* @property string $received_debit The ReceivedDebit being reversed.
* @property string $status Status of the DebitReversal
* @property \Stripe\StripeObject $status_transitions
* @property null|string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object.
* @property (object{completed_at: null|int}&\Stripe\StripeObject) $status_transitions
* @property null|string|Transaction $transaction The Transaction associated with this object.
*/
class DebitReversal extends \Stripe\ApiResource
{
@@ -37,12 +37,12 @@ class DebitReversal extends \Stripe\ApiResource
/**
* Reverses a ReceivedDebit and creates a DebitReversal object.
*
* @param null|array $params
* @param null|array{expand?: string[], metadata?: array<string, string>, received_debit: string} $params
* @param null|array|string $options
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return DebitReversal the created resource
*
* @return \Stripe\Treasury\DebitReversal the created resource
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function create($params = null, $options = null)
{
@@ -59,12 +59,12 @@ class DebitReversal extends \Stripe\ApiResource
/**
* Returns a list of DebitReversals.
*
* @param null|array $params
* @param null|array{ending_before?: string, expand?: string[], financial_account: string, limit?: int, received_debit?: string, resolution?: string, starting_after?: string, status?: string} $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return \Stripe\Collection<DebitReversal> of ApiResources
*
* @return \Stripe\Collection<\Stripe\Treasury\DebitReversal> of ApiResources
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function all($params = null, $opts = null)
{
@@ -79,9 +79,9 @@ class DebitReversal 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 DebitReversal
*
* @return \Stripe\Treasury\DebitReversal
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function retrieve($id, $opts = null)
{