Initial project import
This commit is contained in:
25
node_modules/stripe/esm/resources/ExchangeRates.js
generated
vendored
Normal file
25
node_modules/stripe/esm/resources/ExchangeRates.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
export class ExchangeRateResource extends StripeResource {
|
||||
/**
|
||||
* [Deprecated] The ExchangeRate APIs are deprecated. Please use the [FX Quotes API](https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api) 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
|
||||
*/
|
||||
list(params, options) {
|
||||
return this._makeRequest('GET', '/v1/exchange_rates', params, options, {
|
||||
methodType: 'list',
|
||||
});
|
||||
}
|
||||
/**
|
||||
* [Deprecated] The ExchangeRate APIs are deprecated. Please use the [FX Quotes API](https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api) instead.
|
||||
*
|
||||
* Retrieves the exchange rates from the given currency to every supported currency.
|
||||
* @deprecated
|
||||
*/
|
||||
retrieve(id, params, options) {
|
||||
return this._makeRequest('GET', `/v1/exchange_rates/${encodeURIComponent(id)}`, params, options);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=ExchangeRates.js.map
|
||||
Reference in New Issue
Block a user