Sha256: 6ccbe0c1c06273f2b7368e7edfdecda49ff128937b7789847f3921a2d513a6fd

Contents?: true

Size: 1.09 KB

Versions: 39

Compression:

Stored size: 1.09 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 Requests
    class AddOnPricing < Request

      # @!attribute currency
      #   @return [String] 3-letter ISO 4217 currency code.
      define_attribute :currency, String

      # @!attribute tax_inclusive
      #   @return [Boolean] This field is deprecated. Please do not use it.
      define_attribute :tax_inclusive, :Boolean

      # @!attribute unit_amount
      #   @return [Float] Allows up to 2 decimal places. Required unless `unit_amount_decimal` is provided.
      define_attribute :unit_amount, Float

      # @!attribute unit_amount_decimal
      #   @return [String] Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.
      define_attribute :unit_amount_decimal, String
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

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