Sha256: 7e5e54b9e0d1785f6d10d61b404dd6025285d515a7d7049e06a5d52dd0381a8a
Contents?: true
Size: 951 Bytes
Versions: 2
Compression:
Stored size: 951 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module Test module Expense module Operations class Find < Operation::Find class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) required(:ledger_id).filled(:string) required(:account).hash(Types::Reference) required(:entity).hash(Types::Reference) required(:currency).maybe(:string) required(:memo).maybe(:string) required(:payment_type).maybe(:string) required(:transaction_date).maybe(:date?) required(:exchange_rate).maybe(:float) required(:line_items).array(Types::Reference) required(:reference_number).filled(:string) end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.1 | lib/ledger_sync/adaptors/test/expense/operations/find.rb |
ledger_sync-1.1.3 | lib/ledger_sync/adaptors/test/expense/operations/find.rb |