Initial project import
This commit is contained in:
19
node_modules/stripe/esm/resources/TaxCodes.js
generated
vendored
Normal file
19
node_modules/stripe/esm/resources/TaxCodes.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
// File generated from our OpenAPI spec
|
||||
import { StripeResource } from '../StripeResource.js';
|
||||
export class TaxCodeResource extends StripeResource {
|
||||
/**
|
||||
* A list of [all tax codes available](https://stripe.com/docs/tax/tax-categories) to add to Products in order to allow specific tax calculations.
|
||||
*/
|
||||
list(params, options) {
|
||||
return this._makeRequest('GET', '/v1/tax_codes', params, options, {
|
||||
methodType: 'list',
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
|
||||
*/
|
||||
retrieve(id, params, options) {
|
||||
return this._makeRequest('GET', `/v1/tax_codes/${encodeURIComponent(id)}`, params, options);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=TaxCodes.js.map
|
||||
Reference in New Issue
Block a user