Sha256: 3e3d2220f228629bb9e02f51ac41dbff5960dac5aa0de15ea222dd15a3e51811

Contents?: true

Size: 465 Bytes

Versions: 4

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true

require_relative 'account_based_expense_line_detail'

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class BillLine < QuickBooksOnline::Resource
        references_one :AccountBasedExpenseLineDetail, to: AccountBasedExpenseLineDetail
        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/bill_line.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/quickbooks_online/resources/bill_line.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/quickbooks_online/resources/bill_line.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/quickbooks_online/resources/bill_line.rb