Class: LedgerSync::Adaptors::QuickBooksOnline::LedgerSerializerType::JournalEntryLineItemType

Inherits:
LedgerSerializerType::MappingType show all
Defined in:
lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/journal_entry_line_item_type.rb

Constant Summary collapse

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

Instance Attribute Summary

Attributes inherited from LedgerSerializerType::MappingType

#source, #value

Class Method Summary collapse

Methods inherited from LedgerSerializerType::MappingType

#convert_from_ledger, #convert_from_local

Methods inherited from LedgerSerializerType::ValueType

#convert_from_ledger, #convert_from_local

Class Method Details

.mappingObject



13
14
15
# File 'lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/journal_entry_line_item_type.rb', line 13

def self.mapping
  @mapping ||= MAPPING
end