Sha256: b6497dd8c5e0e9be6218d00d4616255640097b4d5a355594f1c9409caa88d890

Contents?: true

Size: 947 Bytes

Versions: 2

Compression:

Stored size: 947 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 SubscriptionAddOnCreate < Request

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

      # @!attribute id
      #   @return [String] Setting this field allows you to reference an existing 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.5 lib/recurly/requests/subscription_add_on_create.rb
recurly-3.0.0.beta.4 lib/recurly/requests/subscription_add_on_create.rb