Sha256: 6903fb7164d2b6b905ffa78a65ab94d18afdf05caf20d901af6c4ad7017dc92e

Contents?: true

Size: 727 Bytes

Versions: 3

Compression:

Stored size: 727 Bytes

Contents

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class JournalEntry
        module Operations
          class Update < Operation::FullUpdate
            class Contract < LedgerSync::Ledgers::Contract
              schema do
                required(:external_id).maybe(:string)
                optional(:currency).hash(Types::Reference)
                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.4.2 lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/update.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/update.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/journal_entry/operations/update.rb