Class: SaltParser::Ofx::Transaction
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#amount_in_pennies ⇒ Object
Returns the value of attribute amount_in_pennies.
-
#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.
-
#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.
-
#unit_price ⇒ Object
Returns the value of attribute unit_price.
-
#units ⇒ Object
Returns the value of attribute units.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from SaltParser::Base
Instance Attribute Details
#account_id ⇒ Object
Returns the value of attribute account_id.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def account_id @account_id end |
#amount ⇒ Object
Returns the value of attribute amount.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def amount @amount end |
#amount_in_pennies ⇒ Object
Returns the value of attribute amount_in_pennies.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def amount_in_pennies @amount_in_pennies end |
#check_number ⇒ Object
Returns the value of attribute check_number.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def check_number @check_number end |
#fit_id ⇒ Object
Returns the value of attribute fit_id.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def fit_id @fit_id end |
#memo ⇒ Object
Returns the value of attribute memo.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def memo @memo end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def name @name end |
#payee ⇒ Object
Returns the value of attribute payee.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def payee @payee end |
#posted_at ⇒ Object
Returns the value of attribute posted_at.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def posted_at @posted_at end |
#ref_number ⇒ Object
Returns the value of attribute ref_number.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def ref_number @ref_number end |
#sic ⇒ Object
Returns the value of attribute sic.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def sic @sic end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def type @type end |
#unit_price ⇒ Object
Returns the value of attribute unit_price.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def unit_price @unit_price end |
#units ⇒ Object
Returns the value of attribute units.
4 5 6 |
# File 'lib/ofx/transaction.rb', line 4 def units @units end |
Instance Method Details
#to_hash ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/ofx/transaction.rb', line 8 def to_hash { :amount => amount, :amount_in_pennies => amount_in_pennies, :check_number => check_number, :fit_id => fit_id, :memo => memo, :name => name, :payee => payee, :posted_at => posted_at, :ref_number => ref_number, :type => type, :sic => sic, :units => units, :unit_price => unit_price, :account_id => account_id } end |