Sha256: dc00a49bd7c9b0829e5e6d2df65f40cbbc674459c625782faf05a6a12e3c541b

Contents?: true

Size: 723 Bytes

Versions: 3

Compression:

Stored size: 723 Bytes

Contents

module LedgerSync
  module Adaptors
    module QuickBooksOnline
      module JournalEntry
        module Operations
          class Update < Operation::FullUpdate
            class Contract < LedgerSync::Adaptors::Contract
              schema do
                required(:external_id).maybe(:string)
                optional(:currency).filled(:string)
                required(:ledger_id).filled(:string)
                optional(:line_items).array(Types::Reference)
                optional(:memo).filled(:string)
                optional(:reference_number).filled(:string)
                optional(: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/journal_entry/operations/update.rb
ledger_sync-1.1.3 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/update.rb
ledger_sync-1.1.2 lib/ledger_sync/adaptors/quickbooks_online/journal_entry/operations/update.rb