Class: OFX::Transaction
- Inherits:
-
Base::Entity
- Object
- Base::Entity
- OFX::Transaction
- Defined in:
- lib/ofx_kit/domain/transaction.rb
Overview
Represents a single financial transaction parsed from an OFX statement.
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#amount_cents ⇒ Object
Returns the value of attribute amount_cents.
-
#check_number ⇒ Object
Returns the value of attribute check_number.
-
#fit_id ⇒ Object
Returns the value of attribute fit_id.
-
#memo ⇒ Object
Returns the value of attribute memo.
-
#name ⇒ Object
Returns the value of attribute name.
-
#occurred_at ⇒ Object
Returns the value of attribute occurred_at.
-
#payee ⇒ Object
Returns the value of attribute payee.
-
#posted_at ⇒ Object
Returns the value of attribute posted_at.
-
#ref_number ⇒ Object
Returns the value of attribute ref_number.
-
#sic ⇒ Object
Returns the value of attribute sic.
-
#type ⇒ Object
Returns the value of attribute type.
Method Summary
Methods inherited from Base::Entity
ensure_attribute, wired_by_builder
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
6 7 8 |
# File 'lib/ofx_kit/domain/transaction.rb', line 6 def amount @amount end |
#amount_cents ⇒ Object
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_number ⇒ Object
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_id ⇒ Object
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 |
#memo ⇒ Object
Returns the value of attribute memo.
6 7 8 |
# File 'lib/ofx_kit/domain/transaction.rb', line 6 def memo @memo end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/ofx_kit/domain/transaction.rb', line 6 def name @name end |
#occurred_at ⇒ Object
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 |
#payee ⇒ Object
Returns the value of attribute payee.
6 7 8 |
# File 'lib/ofx_kit/domain/transaction.rb', line 6 def payee @payee end |
#posted_at ⇒ Object
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_number ⇒ Object
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 |
#sic ⇒ Object
Returns the value of attribute sic.
6 7 8 |
# File 'lib/ofx_kit/domain/transaction.rb', line 6 def sic @sic end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/ofx_kit/domain/transaction.rb', line 6 def type @type end |