Class: LedgerSync::QuickBooksOnline::JournalEntryLineDetail

Inherits:
Resource
  • Object
show all
Defined in:
lib/ledger_sync/quickbooks_online/resources/journal_entry_line_detail.rb,
lib/ledger_sync/quickbooks_online/journal_entry_line_detail/serializer.rb,
lib/ledger_sync/quickbooks_online/journal_entry_line_detail/deserializer.rb

Defined Under Namespace

Classes: Deserializer, Serializer

Constant Summary collapse

TYPES =
{
  'debit' => 'Debit',
  'credit' => 'Credit'
}.freeze

Instance Method Summary collapse

Instance Method Details

#nameObject



20
21
22
# File 'lib/ledger_sync/quickbooks_online/resources/journal_entry_line_detail.rb', line 20

def name
  "#{self.PostingType} #{self.Account.try(:name)}"
end