Sha256: 2a9461e87c9f478111d9e8113e966a1099950b03fcbf8fa75ec8d99c7f0242e1

Contents?: true

Size: 537 Bytes

Versions: 4

Compression:

Stored size: 537 Bytes

Contents

# frozen_string_literal: true

require_relative '../journal_entry_line_detail/deserializer'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class JournalEntryLine
        class Deserializer < QuickBooksOnline::Deserializer
          amount :Amount
          attribute :Description

          references_one :JournalEntryLineDetail,
                         hash_attribute: 'JournalEntryLineDetail',
                         deserializer: JournalEntryLineDetail::Deserializer
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line/deserializer.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line/deserializer.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line/deserializer.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/journal_entry_line/deserializer.rb