Sha256: 49aee0f9f477d4ddadfbc95320c90a02e853db08e8c95885f803832616188bdc

Contents?: true

Size: 954 Bytes

Versions: 12

Compression:

Stored size: 954 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 AddOnPricing < 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

12 entries across 12 versions & 1 rubygems

Version Path
recurly-4.10.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.9.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.8.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.7.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.6.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.5.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.4.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.3.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.2.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.1.0 lib/recurly/requests/add_on_pricing.rb
recurly-4.0.1 lib/recurly/requests/add_on_pricing.rb
recurly-4.0.0 lib/recurly/requests/add_on_pricing.rb