Sha256: aa8e36d27a3dc62d4be81c1345ff0669588dadd74264abc7cb2fd931531df930

Contents?: true

Size: 680 Bytes

Versions: 11

Compression:

Stored size: 680 Bytes

Contents

module NetSuite
  module Records
    class Classification
      include Support::Fields
      include Support::Actions

      actions :get, :get_list, :delete, :upsert

      fields :name, :include_children, :is_inactive, :class_translation_list, :custom_field_list

      field :subsidiary_list, RecordRefList

      attr_reader   :internal_id
      attr_accessor :external_id

      def initialize(attributes = {})
        @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
        @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
        initialize_from_attributes_hash(attributes)
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
netsuite-0.5.3 lib/netsuite/records/classification.rb
netsuite-0.5.2 lib/netsuite/records/classification.rb
netsuite-0.5.1 lib/netsuite/records/classification.rb
netsuite-0.5.0 lib/netsuite/records/classification.rb
netsuite-0.4.9 lib/netsuite/records/classification.rb
netsuite-0.4.8 lib/netsuite/records/classification.rb
netsuite-0.4.7 lib/netsuite/records/classification.rb
netsuite-0.4.6 lib/netsuite/records/classification.rb
netsuite-0.4.5 lib/netsuite/records/classification.rb
netsuite-0.4.4 lib/netsuite/records/classification.rb
netsuite-0.4.3 lib/netsuite/records/classification.rb