Sha256: 4e88c9a02b874b761c729de96e510ff00ef464092eb29088ff64a33d3bd50dd7

Contents?: true

Size: 766 Bytes

Versions: 17

Compression:

Stored size: 766 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Tax
    class SettingsService < StripeService
      # Retrieves Tax Settings for a merchant.
      def retrieve(params = {}, opts = {})
        request(
          method: :get,
          path: "/v1/tax/settings",
          params: params,
          opts: opts,
          base_address: :api
        )
      end

      # Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set.
      def update(params = {}, opts = {})
        request(
          method: :post,
          path: "/v1/tax/settings",
          params: params,
          opts: opts,
          base_address: :api
        )
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
stripe-13.3.1 lib/stripe/services/tax/settings_service.rb
stripe-13.3.0 lib/stripe/services/tax/settings_service.rb
stripe-13.3.0.pre.beta.3 lib/stripe/services/tax/settings_service.rb
stripe-13.3.0.pre.beta.2 lib/stripe/services/tax/settings_service.rb
stripe-13.3.0.pre.beta.1 lib/stripe/services/tax/settings_service.rb
stripe-13.2.0 lib/stripe/services/tax/settings_service.rb
stripe-13.1.2 lib/stripe/services/tax/settings_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/tax/settings_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/tax/settings_service.rb
stripe-13.1.1 lib/stripe/services/tax/settings_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/tax/settings_service.rb
stripe-13.1.0 lib/stripe/services/tax/settings_service.rb
stripe-13.0.2 lib/stripe/services/tax/settings_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/tax/settings_service.rb
stripe-13.0.1 lib/stripe/services/tax/settings_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/tax/settings_service.rb
stripe-13.0.0 lib/stripe/services/tax/settings_service.rb