Class: LedgerSync::Adaptors::QuickBooksOnline::LedgerSerializerType::PaymentType

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

Constant Summary collapse

MAPPING =
{
  'cash' => 'Cash',
  'check' => 'Check',
  'credit_card' => 'CreditCard'
}.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



14
15
16
# File 'lib/ledger_sync/adaptors/quickbooks_online/ledger_serializer_type/payment_type.rb', line 14

def self.mapping
  @mapping ||= MAPPING
end