Sha256: 7b2c75294ae00eea522ae4542536df3e4b00dd38ea53155121947d0f6a32961e

Contents?: true

Size: 646 Bytes

Versions: 9

Compression:

Stored size: 646 Bytes

Contents

# frozen_string_literal: true

require_relative '../reference/serializer'

module LedgerSync
  module NetSuite
    class JournalEntryLineItem
      class Serializer < NetSuite::Serializer
        attribute :entitytype
        attribute :credit
        attribute :debit
        attribute :memo
        references_one :entity,
                       serializer: Reference::Serializer
        references_one :class,
                       resource_attribute: :ledger_class,
                       serializer: Reference::Serializer
        references_one :account,
                       serializer: Reference::Serializer
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.6.2 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb
ledger_sync-netsuite-0.6.1 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb
ledger_sync-netsuite-0.6.0 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb
ledger_sync-netsuite-0.5.0 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb
ledger_sync-netsuite-0.4.2 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb
ledger_sync-netsuite-0.3.6 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb
ledger_sync-netsuite-0.3.5 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb
ledger_sync-netsuite-0.3.4 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb
ledger_sync-netsuite-0.3.3 lib/ledger_sync/netsuite/journal_entry_line_item/serializer.rb