Sha256: c37b3062fba79f26ebe8ab13e11997354aecb86a89be60b31096b5cd0a38a231

Contents?: true

Size: 890 Bytes

Versions: 4

Compression:

Stored size: 890 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Account
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Ledgers::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:AccountType).maybe(:string)
                required(:AccountSubType).maybe(:string)
                required(:AcctNum).maybe(:string)
                required(:Active).maybe(:bool)
                required(:Classification).maybe(:string)
                required(:Currency).maybe(:hash, Types::Reference)
                required(:Description).maybe(:string)
                required(:Name).maybe(:string)
              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/account/operations/find.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/account/operations/find.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/account/operations/find.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/account/operations/find.rb