Sha256: 3c89e683e40da171272f414790840f8d9fb5297dd2fae147d1fb65dd33f9c88f

Contents?: true

Size: 581 Bytes

Versions: 13

Compression:

Stored size: 581 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Tax
    class CalculationLineItemService < StripeService
      # Retrieves the line items of a tax calculation as a collection, if the calculation hasn't expired.
      def list(calculation, params = {}, opts = {})
        request(
          method: :get,
          path: format("/v1/tax/calculations/%<calculation>s/line_items", { calculation: CGI.escape(calculation) }),
          params: params,
          opts: opts,
          base_address: :api
        )
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

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