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

@@ -9,16 +9,16 @@ namespace Stripe\Treasury;
*
* @property string $id Unique identifier for the object.
* @property string $object String representing the object's type. Objects of the same type share the same value.
* @property \Stripe\StripeObject $balance_impact Change to a FinancialAccount's balance
* @property (object{cash: int, inbound_pending: int, outbound_pending: int}&\Stripe\StripeObject) $balance_impact Change to a FinancialAccount's balance
* @property int $created Time at which the object was created. Measured in seconds since the Unix epoch.
* @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 int $effective_at When the TransactionEntry will impact the FinancialAccount's balance.
* @property string $financial_account The FinancialAccount associated with this object.
* @property null|string $flow Token of the flow associated with the TransactionEntry.
* @property null|\Stripe\StripeObject $flow_details Details of the flow associated with the TransactionEntry.
* @property null|(object{credit_reversal?: CreditReversal, debit_reversal?: DebitReversal, inbound_transfer?: InboundTransfer, issuing_authorization?: \Stripe\Issuing\Authorization, outbound_payment?: OutboundPayment, outbound_transfer?: OutboundTransfer, received_credit?: ReceivedCredit, received_debit?: ReceivedDebit, type: string}&\Stripe\StripeObject) $flow_details Details of the flow associated with the TransactionEntry.
* @property string $flow_type Type of the flow associated with the TransactionEntry.
* @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 string|\Stripe\Treasury\Transaction $transaction The Transaction associated with this object.
* @property string|Transaction $transaction The Transaction associated with this object.
* @property string $type The specific money movement that generated the TransactionEntry.
*/
class TransactionEntry extends \Stripe\ApiResource
@@ -59,12 +59,12 @@ class TransactionEntry extends \Stripe\ApiResource
/**
* Retrieves a list of TransactionEntry objects.
*
* @param null|array $params
* @param null|array{created?: array|int, effective_at?: array|int, ending_before?: string, expand?: string[], financial_account: string, limit?: int, order_by?: string, starting_after?: string, transaction?: string} $params
* @param null|array|string $opts
*
* @throws \Stripe\Exception\ApiErrorException if the request fails
* @return \Stripe\Collection<TransactionEntry> of ApiResources
*
* @return \Stripe\Collection<\Stripe\Treasury\TransactionEntry> of ApiResources
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function all($params = null, $opts = null)
{
@@ -79,9 +79,9 @@ class TransactionEntry 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 TransactionEntry
*
* @return \Stripe\Treasury\TransactionEntry
* @throws \Stripe\Exception\ApiErrorException if the request fails
*/
public static function retrieve($id, $opts = null)
{