Sha256: 333bec6c44baaa954e21179f2cb81a98582d7a8bad79750180bf3b456ab46bff

Contents?: true

Size: 953 Bytes

Versions: 57

Compression:

Stored size: 953 Bytes

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 TierPricing < Request

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

      # @!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

57 entries across 57 versions & 1 rubygems

Version Path
recurly-4.35.0 lib/recurly/requests/tier_pricing.rb
recurly-4.34.0 lib/recurly/requests/tier_pricing.rb
recurly-4.33.0 lib/recurly/requests/tier_pricing.rb
recurly-4.32.0 lib/recurly/requests/tier_pricing.rb
recurly-4.31.0 lib/recurly/requests/tier_pricing.rb
recurly-4.30.0 lib/recurly/requests/tier_pricing.rb
recurly-4.29.0 lib/recurly/requests/tier_pricing.rb
recurly-4.28.0 lib/recurly/requests/tier_pricing.rb
recurly-4.27.0 lib/recurly/requests/tier_pricing.rb
recurly-4.26.0 lib/recurly/requests/tier_pricing.rb
recurly-4.25.0 lib/recurly/requests/tier_pricing.rb
recurly-4.24.0 lib/recurly/requests/tier_pricing.rb
recurly-4.23.0 lib/recurly/requests/tier_pricing.rb
recurly-4.22.0 lib/recurly/requests/tier_pricing.rb
recurly-4.21.1 lib/recurly/requests/tier_pricing.rb
recurly-4.21.0 lib/recurly/requests/tier_pricing.rb
recurly-4.20.0 lib/recurly/requests/tier_pricing.rb
recurly-4.19.0 lib/recurly/requests/tier_pricing.rb
recurly-4.18.0 lib/recurly/requests/tier_pricing.rb
recurly-4.17.0 lib/recurly/requests/tier_pricing.rb