Sha256: 38bed7f95e78ac5067eed73276060a9d9b2e4dc90b5a2b23757c0e324d2a011d
Contents?: true
Size: 881 Bytes
Versions: 1
Compression:
Stored size: 881 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module QuickBooksOnline module Deposit module Operations class Update < QuickBooksOnline::Operation::FullUpdate class Contract < LedgerSync::Adaptors::Contract schema do required(:external_id).maybe(:string) required(:ledger_id).filled(:string) required(:account).hash(Types::Reference) required(:currency).filled(:string) required(:department).hash(Types::Reference) required(:memo).filled(:string) required(:transaction_date).filled(:date?) required(:exchange_rate).maybe(:float) required(:line_items).array(Types::Reference) end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.1 | lib/ledger_sync/adaptors/quickbooks_online/deposit/operations/update.rb |