Upgrade 1-11.38

This commit is contained in:
xesmyd
2026-03-30 14:10:30 +02:00
parent f2a7e6d1fc
commit ac648ef29d
24665 changed files with 69682 additions and 2205004 deletions
+18 -2
View File
@@ -5,19 +5,21 @@
namespace Stripe;
/**
* [Deprecated] The <code>ExchangeRate</code> APIs are deprecated. Please use the <a href="https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api">FX Quotes API</a> instead.
*
* <code>ExchangeRate</code> objects allow you to determine the rates that Stripe is currently
* using to convert from one currency to another. Since this number is variable
* throughout the day, there are various reasons why you might want to know the current
* rate (for example, to dynamically price an item for a user with a default
* payment in a foreign currency).
*
* Please refer to our <a href="https://stripe.com/docs/fx-rates">Exchange Rates API</a> guide for more details.
* Please refer to our <a href="https://docs.stripe.com/fx-rates">Exchange Rates API</a> guide for more details.
*
* <em>[Note: this integration path is supported but no longer recommended]</em> Additionally,
* you can guarantee that a charge is made with an exchange rate that you expect is
* current. To do so, you must pass in the exchange_rate to charges endpoints. If the
* value is no longer up to date, the charge won't go through. Please refer to our
* <a href="https://stripe.com/docs/exchange-rates">Using with charges</a> guide for more details.
* <a href="https://docs.stripe.com/exchange-rates">Using with charges</a> guide for more details.
*
* -----
*
@@ -41,9 +43,16 @@ class ExchangeRate extends ApiResource
const OBJECT_NAME = 'exchange_rate';
/**
* [Deprecated] The <code>ExchangeRate</code> APIs are deprecated. Please use the
* <a
* href="https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api">FX
* Quotes API</a> instead.
*
* Returns a list of objects that contain the rates at which foreign currencies are
* converted to one another. Only shows the currencies for which Stripe supports.
*
* @deprecated this method is deprecated, please refer to the description for details
*
* @param null|array{ending_before?: string, expand?: string[], limit?: int, starting_after?: string} $params
* @param null|array|string $opts
*
@@ -59,9 +68,16 @@ class ExchangeRate extends ApiResource
}
/**
* [Deprecated] The <code>ExchangeRate</code> APIs are deprecated. Please use the
* <a
* href="https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api">FX
* Quotes API</a> instead.
*
* Retrieves the exchange rates from the given currency to every supported
* currency.
*
* @deprecated this method is deprecated, please refer to the description for details
*
* @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
*