Sha256: a8c3f622a321d2c035f5fc7cfba1515ba7215571584a6d54d038ccab3b33892d

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

require_relative 'invoice'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class PaymentLine < QuickBooksOnline::Resource
        attribute :Amount, type: Type::Integer

        references_many :LinkedTxn, to: [Invoice]

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