Sha256: 27455dc9b8b0ab6469ea3065b323ae830d32cbdb16fbf8797eb054cf3143825b
Contents?: true
Size: 737 Bytes
Versions: 9
Compression:
Stored size: 737 Bytes
Contents
# frozen_string_literal: true require_relative '../reference/deserializer' module LedgerSync module QuickBooksOnline class Account class Deserializer < QuickBooksOnline::Deserializer id attribute :Name attribute :AcctNum attribute :Description attribute :Active mapping :AccountType, hash: Account::TYPES.invert mapping :AccountSubType, hash: Account::SUB_TYPES.invert mapping :Classification, hash: Account::CLASSIFICATIONS.invert references_one :Currency, hash_attribute: :CurrencyRef, deserializer: Reference::Deserializer end end end end
Version data entries
9 entries across 9 versions & 1 rubygems