"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/${id}`, params, options);
    }
}
exports.TaxCodeResource = TaxCodeResource;
//# sourceMappingURL=TaxCodes.js.map