Sha256: aeb6035489a6bf21724449591b9a9eced40834d14498e9b23c754283e2eba2df

Contents?: true

Size: 430 Bytes

Versions: 13

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

require_relative 'account_based_expense_line_detail'

module LedgerSync
  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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ledger_sync-quickbooks_online-2.0.0 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-1.0.1 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/resources/expense_line.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/resources/expense_line.rb