Sha256: b854f8d5c8a588ed2efcb20a67ed0eda830749fe490ef3a077c6f289c81332e6

Contents?: true

Size: 473 Bytes

Versions: 4

Compression:

Stored size: 473 Bytes

Contents

# frozen_string_literal: true

require_relative 'account_based_expense_line_detail'

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

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