Sha256: 01c831e1d4a23d263bca260af9963761d789a9c0267a61af019c2262cecb3ab3

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

require_relative 'deposit_line_detail'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class DepositLine < QuickBooksOnline::Resource
        references_one :DepositLineDetail, to: DepositLineDetail
        attribute :Amount, type: Type::Integer
        attribute :Description, type: Type::String

        def name
          description
        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/resources/deposit_line.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/resources/deposit_line.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/resources/deposit_line.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/resources/deposit_line.rb