Sha256: baa18786b199b1568c10cdfb690c78652297ac2b339c6ecd55d6e6f0f7ef9ee2

Contents?: true

Size: 1.82 KB

Versions: 23

Compression:

Stored size: 1.82 KB

Contents

# This file is automatically created by Recurly's OpenAPI generation process
# and thus any edits you make by hand will be lost. If you wish to make a
# change to this file, please create a Github issue explaining the changes you
# need and we will usher them to the appropriate places.
module Recurly
  module Resources
    class TaxDetail < Resource

      # @!attribute billable
      #   @return [Boolean] Whether or not the line item is taxable. Only populated for a single LineItem fetch when Avalara for Communications is enabled.
      define_attribute :billable, :Boolean

      # @!attribute level
      #   @return [String] Provides the jurisdiction level for the Communications tax applied. Example values include city, state and federal. Present only when Avalara for Communications is enabled.
      define_attribute :level, String

      # @!attribute name
      #   @return [String] Provides the name of the Communications tax applied. Present only when Avalara for Communications is enabled.
      define_attribute :name, String

      # @!attribute rate
      #   @return [Float] Provides the tax rate for the region.
      define_attribute :rate, Float

      # @!attribute region
      #   @return [String] Provides the tax region applied on an invoice. For Canadian Sales Tax, this will be either the 2 letter province code or country code. Not present when Avalara for Communications is enabled.
      define_attribute :region, String

      # @!attribute tax
      #   @return [Float] The total tax applied for this tax type.
      define_attribute :tax, Float

      # @!attribute type
      #   @return [String] Provides the tax type for the region or type of Comminications tax when Avalara for Communications is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.
      define_attribute :type, String
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
recurly-4.56.0 lib/recurly/resources/tax_detail.rb
recurly-4.55.0 lib/recurly/resources/tax_detail.rb
recurly-4.54.0 lib/recurly/resources/tax_detail.rb
recurly-4.53.0 lib/recurly/resources/tax_detail.rb
recurly-4.52.0 lib/recurly/resources/tax_detail.rb
recurly-4.49.0 lib/recurly/resources/tax_detail.rb
recurly-4.48.1 lib/recurly/resources/tax_detail.rb
recurly-4.48.0 lib/recurly/resources/tax_detail.rb
recurly-4.47.0 lib/recurly/resources/tax_detail.rb
recurly-4.46.0 lib/recurly/resources/tax_detail.rb
recurly-4.45.0 lib/recurly/resources/tax_detail.rb
recurly-4.44.0 lib/recurly/resources/tax_detail.rb
recurly-4.43.0 lib/recurly/resources/tax_detail.rb
recurly-4.42.0 lib/recurly/resources/tax_detail.rb
recurly-4.41.0 lib/recurly/resources/tax_detail.rb
recurly-4.40.0 lib/recurly/resources/tax_detail.rb
recurly-4.39.0 lib/recurly/resources/tax_detail.rb
recurly-4.38.0 lib/recurly/resources/tax_detail.rb
recurly-4.37.0 lib/recurly/resources/tax_detail.rb
recurly-3.28.0 lib/recurly/resources/tax_detail.rb