Sha256: e3ef58734932865c4c9486a4d4819f77262b0c25d0ffbd8b659d7173674a36f5

Contents?: true

Size: 636 Bytes

Versions: 2

Compression:

Stored size: 636 Bytes

Contents

module Recurly
  module Requests
    class SubscriptionAddOnCreate < Request

      # @!attribute code
      #   @return [String] Add-on code
      define_attribute :code, String

      # @!attribute id
      #   @return [String] Id of an existing subscription add on.
      define_attribute :id, String

      # @!attribute quantity
      #   @return [Integer] Optionally override the default quantity.
      define_attribute :quantity, Integer

      # @!attribute unit_amount
      #   @return [Float] Override the default unit amount of the add-on by setting this value.
      define_attribute :unit_amount, Float
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
recurly-3.0.0.beta.2 lib/recurly/requests/subscription_add_on_create.rb
recurly-3.0.0.beta.1 lib/recurly/requests/subscription_add_on_create.rb