Sha256: ad08ab0bba4cbfe2f57b4a067555cdb67a1f5c1b1c94c5022744733339a88962

Contents?: true

Size: 583 Bytes

Versions: 8

Compression:

Stored size: 583 Bytes

Contents

# frozen_string_literal: true

require_relative 'account'
require_relative 'department'
require_relative 'ledger_class'

module LedgerSync
  module Ledgers
    module NetSuite
      class JournalEntryLineItem < NetSuite::Resource
        references_one :account, to: Account
        attribute :line, type: Type::Integer
        attribute :credit, type: Type::Float
        attribute :debit, type: Type::Float
        attribute :entitytype, type: Type::String
        attribute :memo, type: Type::String

        def name
          description
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/netsuite/resources/journal_entry_line_item.rb