Sha256: b20af999431e10754fc1041a2d38a408271110300edb1e9bb1007c58548c6988

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Preferences
        class Deserializer < QuickBooksOnline::Deserializer
          id

          attribute :accounting_info,
                    hash_attribute: 'AccountingInfoPrefs'

          attribute :product_and_services,
                    hash_attribute: 'ProductAndServicesPrefs'

          attribute :sales_forms,
                    hash_attribute: 'SalesFormsPrefs'

          attribute :email_messages,
                    hash_attribute: 'EmailMessagesPrefs'

          attribute :vendor_and_purchases,
                    hash_attribute: 'VendorAndPurchasesPrefs'

          attribute :time_tracking,
                    hash_attribute: 'TimeTrackingPrefs'

          attribute :tax,
                    hash_attribute: 'TaxPrefs'

          attribute :currency,
                    hash_attribute: 'CurrencyPrefs'

          attribute :report,
                    hash_attribute: 'ReportPrefs'

          attribute :other,
                    hash_attribute: 'OtherPrefs'
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.4.4 lib/ledger_sync/ledgers/quickbooks_online/preferences/deserializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/preferences/deserializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/preferences/deserializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/preferences/deserializer.rb