Initial project import
This commit is contained in:
23
node_modules/stripe/cjs/resources/TaxCodes.js
generated
vendored
Normal file
23
node_modules/stripe/cjs/resources/TaxCodes.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
// File generated from our OpenAPI spec
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TaxCodeResource = void 0;
|
||||
const StripeResource_js_1 = require("../StripeResource.js");
|
||||
class TaxCodeResource extends StripeResource_js_1.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);
|
||||
}
|
||||
}
|
||||
exports.TaxCodeResource = TaxCodeResource;
|
||||
//# sourceMappingURL=TaxCodes.js.map
|
||||
Reference in New Issue
Block a user