Sha256: ee97bff5c485de8ed24984f33cb15bb4e747a5e0b897f4ceccd4f360321f27bd

Contents?: true

Size: 800 Bytes

Versions: 4

Compression:

Stored size: 800 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Transfer
        module Operations
          class Find < Operation::Find
            class Contract < LedgerSync::Ledgers::Contract
              schema do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                optional(:FromAccount).hash(Types::Reference)
                optional(:ToAccount).hash(Types::Reference)
                optional(:Amount).maybe(:integer)
                optional(:Currency).maybe(:hash, Types::Reference)
                optional(:PrivateNote).maybe(:string)
                optional(:TxnDate).maybe(:date?)
              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/transfer/operations/find.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/find.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/find.rb