Sha256: cca79e387421db8880673e02fecbd97b66764b9851e9d30fd8fe47cf32c9c209

Contents?: true

Size: 760 Bytes

Versions: 3

Compression:

Stored size: 760 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Transfer
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:from_account).hash(Types::Reference)
                required(:to_account).hash(Types::Reference)
                required(:amount).maybe(:integer)
                required(:currency).maybe(:string)
                required(:memo).maybe(:string)
                required(:transaction_date).maybe(:date?)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ledger_sync-1.3.1 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/find.rb