Sha256: 244f64591521bcd8895b9cc1e28ab48fbb83bbdef5c7296a256221f0f3c7f2c6

Contents?: true

Size: 803 Bytes

Versions: 3

Compression:

Stored size: 803 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module Transfer
        module Operations
          class Update < Operation::FullUpdate
            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).filled(:integer)
                required(:currency).filled(:string)
                required(:memo).filled(:string)
                required(:transaction_date).filled(: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/update.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/update.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/transfer/operations/update.rb