Sha256: 0e3143ee6ddfcc7cc6dea0baa06196dd6fce6a4b08f7a26147f9c8997edd2aa1

Contents?: true

Size: 1.4 KB

Versions: 40

Compression:

Stored size: 1.4 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 SubscriptionAddOnTier < Resource

      # @!attribute ending_quantity
      #   @return [Integer] Ending quantity for the tier.  This represents a unit amount for unit-priced add ons. Must be left empty if it is the final tier.
      define_attribute :ending_quantity, Integer

      # @!attribute unit_amount
      #   @return [Float] Allows up to 2 decimal places. Optionally, override the tiers' default unit amount. If add-on's `add_on_type` is `usage` and `usage_type` is `percentage`, cannot be provided.
      define_attribute :unit_amount, Float

      # @!attribute unit_amount_decimal
      #   @return [String] Allows up to 9 decimal places.  Optionally, override tiers' default unit amount. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided. If add-on's `add_on_type` is `usage` and `usage_type` is `percentage`, cannot be provided.
      define_attribute :unit_amount_decimal, String

      # @!attribute usage_percentage
      #   @return [String] (deprecated) -- Use the percentage_tiers object instead.
      define_attribute :usage_percentage, String
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

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