Sha256: 3c0924a07f79c418c75c79de18138e362d68b6f547977208205b3c6e347ad2ee

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Preferences
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Ledgers::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).value(:nil)
                required(:AccountingInfoPrefs).maybe(:hash)
                required(:ProductAndServicesPrefs).maybe(:hash)
                required(:SalesFormsPrefs).maybe(:hash)
                required(:EmailMessagesPrefs).maybe(:hash)
                required(:VendorAndPurchasesPrefs).maybe(:hash)
                required(:TimeTrackingPrefs).maybe(:hash)
                required(:TaxPrefs).maybe(:hash)
                required(:CurrencyPrefs).maybe(:hash)
                required(:ReportPrefs).maybe(:hash)
                required(:OtherPrefs).maybe(:hash)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/quickbooks_online/preferences/operations/find.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/preferences/operations/find.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/preferences/operations/find.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/preferences/operations/find.rb