Class: OFX::Transaction

Inherits:
Base::Entity show all
Defined in:
lib/ofx_kit/domain/transaction.rb

Overview

Represents a single financial transaction parsed from an OFX statement.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base::Entity

ensure_attribute, wired_by_builder

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def amount
  @amount
end

#amount_centsObject

Returns the value of attribute amount_cents.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def amount_cents
  @amount_cents
end

#check_numberObject

Returns the value of attribute check_number.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def check_number
  @check_number
end

#fit_idObject

Returns the value of attribute fit_id.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def fit_id
  @fit_id
end

#memoObject

Returns the value of attribute memo.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def memo
  @memo
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def name
  @name
end

#occurred_atObject

Returns the value of attribute occurred_at.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def occurred_at
  @occurred_at
end

#payeeObject

Returns the value of attribute payee.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def payee
  @payee
end

#posted_atObject

Returns the value of attribute posted_at.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def posted_at
  @posted_at
end

#ref_numberObject

Returns the value of attribute ref_number.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def ref_number
  @ref_number
end

#sicObject

Returns the value of attribute sic.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def sic
  @sic
end

#typeObject

Returns the value of attribute type.



6
7
8
# File 'lib/ofx_kit/domain/transaction.rb', line 6

def type
  @type
end