Sha256: 2b6431104f2beb6dc927b9461e44a61f4591054492acc5d69949f941ae22d2dc

Contents?: true

Size: 858 Bytes

Versions: 2

Compression:

Stored size: 858 Bytes

Contents

module Recurly
  module Resources
    class AddOnMini < Resource

      # @!attribute accounting_code
      #   @return [String] Accounting code for invoice line items for this add-on. If no value is provided, it defaults to add-on's code.
      define_attribute :accounting_code, String

      # @!attribute code
      #   @return [String] The unique identifier for the add-on within its plan.
      define_attribute :code, String

      # @!attribute [r] id
      #   @return [String] Add-on ID
      define_attribute :id, String, {:read_only => true}

      # @!attribute name
      #   @return [String] Describes your add-on and will appear in subscribers' invoices.
      define_attribute :name, String

      # @!attribute [r] object
      #   @return [String] Object type
      define_attribute :object, String, {:read_only => true}
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
recurly-3.0.0.beta.3 lib/recurly/resources/add_on_mini.rb
recurly-3.0.0.beta.2 lib/recurly/resources/add_on_mini.rb