Sha256: d5e0ce0021111f8dd03184a50c9e7729089a97276ca0d64aa7277e9b2456e9e7
Contents?: true
Size: 813 Bytes
Versions: 20
Compression:
Stored size: 813 Bytes
Contents
# File generated from our OpenAPI spec # frozen_string_literal: true module Stripe class TaxCodeService < StripeService # 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. def list(params = {}, opts = {}) request(method: :get, path: "/v1/tax_codes", params: params, opts: opts, base_address: :api) end # Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information. def retrieve(id, params = {}, opts = {}) request( method: :get, path: format("/v1/tax_codes/%<id>s", { id: CGI.escape(id) }), params: params, opts: opts, base_address: :api ) end end end
Version data entries
20 entries across 20 versions & 1 rubygems