Sha256: 7a7c3f271baa94542316c5485d64e889b842dd9593ea258c5b850cedfeb6cef7

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

require_relative 'invoice'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class PaymentLineItem < QuickBooksOnline::Resource
        attribute :amount, type: Type::Integer

        references_many :ledger_transactions, to: [Invoice]

        def name
          amount
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.4.4 lib/ledger_sync/ledgers/quickbooks_online/resources/payment_line_item.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/resources/payment_line_item.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/resources/payment_line_item.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/resources/payment_line_item.rb