Sha256: 6a70ba84d588a6853d0064e5443ca025f3219bc89fd313004a5ff1772261c7f1

Contents?: true

Size: 749 Bytes

Versions: 13

Compression:

Stored size: 749 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module QuickBooksOnline
    class Transfer
      module Operations
        class Update < Operation::FullUpdate
          class Contract < LedgerSync::Ledgers::Contract
            schema do
              required(:external_id).maybe(:string)
              required(:ledger_id).filled(:string)
              required(:FromAccount).hash(Types::Reference)
              required(:ToAccount).hash(Types::Reference)
              required(:Amount).filled(:integer)
              required(:Currency).filled(:hash, Types::Reference)
              required(:PrivateNote).filled(:string)
              required(:TxnDate).filled(:date?)
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-2.0.0 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-1.0.1 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/transfer/operations/update.rb