Sha256: 506ddd9a0cf6e6625b3e88c1f43689e71cda6a1d894b9ad3e7991db58a704637

Contents?: true

Size: 392 Bytes

Versions: 13

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

require_relative 'deposit_line_detail'

module LedgerSync
  module QuickBooksOnline
    class DepositLine < QuickBooksOnline::Resource
      references_one :DepositLineDetail, to: DepositLineDetail
      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/deposit_line.rb
ledger_sync-quickbooks_online-1.0.1 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-1.0.0 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.4.0 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.3.1 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.3.0 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.2.6 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.2.5 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.2.4 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.2.2 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.2.1 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.2.0 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb
ledger_sync-quickbooks_online-0.1.1 lib/ledger_sync/quickbooks_online/resources/deposit_line.rb