Class: LedgerSync::Adaptors::QuickBooksOnline::LedgerSerializerType::ClassificationType

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

Constant Summary collapse

MAPPING =
{
  'asset' => 'Asset',
  'equity' => 'Equity',
  'expense' => 'Expense',
  'liability' => 'Liability',
  'revenue' => 'Revenue'
}.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



16
17
18
# File 'lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/classification_type.rb', line 16

def self.mapping
  @mapping ||= MAPPING
end