Sha256: c94f63b98d432c2fc3093b056df53262445673baffe549e88398ced8ce44a5f6

Contents?: true

Size: 812 Bytes

Versions: 4

Compression:

Stored size: 812 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    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
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/update.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/update.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/update.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/transfer/operations/update.rb