Sha256: e48cebaaf15c26b1c9592953b58a5e38a5f8c1c3a6ab2a0ddee90824fdb84e25

Contents?: true

Size: 884 Bytes

Versions: 4

Compression:

Stored size: 884 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Deposit
        module Operations
          class Find < QuickBooksOnline::Operation::Find
            class Contract < LedgerSync::Ledgers::Contract
              schema do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:DepositToAccount).hash(Types::Reference)
                optional(:Currency).maybe(:hash, Types::Reference)
                optional(:Department).hash(Types::Reference)
                optional(:PrivateNote).maybe(:string)
                optional(:TxnDate).filled(:date?)
                optional(:ExchangeRate).maybe(:float)
                optional(:Line).array(Types::Reference)
              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/deposit/operations/find.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/find.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/find.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/deposit/operations/find.rb