Class: OfxParser::Transaction
- Inherits:
-
Object
- Object
- OfxParser::Transaction
- Extended by:
- MonetaryClassSupport
- Includes:
- MonetarySupport
- Defined in:
- lib/ofx.rb
Constant Summary collapse
- TYPE =
{ :CREDIT => "Generic credit", :DEBIT => "Generic debit", :INT => "Interest earned or paid ", :DIV => "Dividend", :FEE => "FI fee", :SRVCHG => "Service charge", :DEP => "Deposit", :ATM => "ATM debit or credit", :POS => "Point of sale debit or credit ", :XFER => "Transfer", :CHECK => "Check", :PAYMENT => "Electronic payment", :CASH => "Cash withdrawal", :DIRECTDEP => "Direct deposit", :DIRECTDEBIT => "Merchant initiated debit", :REPEATPMT => "Repeating payment/standing order", :OTHER => "Other" }
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#check_number ⇒ Object
Returns the value of attribute check_number.
-
#date ⇒ Object
Returns the value of attribute date.
-
#fit_id ⇒ Object
Returns the value of attribute fit_id.
-
#memo ⇒ Object
Returns the value of attribute memo.
-
#payee ⇒ Object
Returns the value of attribute payee.
-
#sic ⇒ Object
Returns the value of attribute sic.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes included from MonetaryClassSupport
Instance Method Summary collapse
Methods included from MonetaryClassSupport
Methods included from MonetarySupport
#method_missing, #monetary_method_call?, #original_method, #pennies_for, #respond_to?
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OfxParser::MonetarySupport
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
112 113 114 |
# File 'lib/ofx.rb', line 112 def amount @amount end |
#check_number ⇒ Object
Returns the value of attribute check_number.
112 113 114 |
# File 'lib/ofx.rb', line 112 def check_number @check_number end |
#date ⇒ Object
Returns the value of attribute date.
112 113 114 |
# File 'lib/ofx.rb', line 112 def date @date end |
#fit_id ⇒ Object
Returns the value of attribute fit_id.
112 113 114 |
# File 'lib/ofx.rb', line 112 def fit_id @fit_id end |
#memo ⇒ Object
Returns the value of attribute memo.
112 113 114 |
# File 'lib/ofx.rb', line 112 def memo @memo end |
#payee ⇒ Object
Returns the value of attribute payee.
112 113 114 |
# File 'lib/ofx.rb', line 112 def payee @payee end |
#sic ⇒ Object
Returns the value of attribute sic.
112 113 114 |
# File 'lib/ofx.rb', line 112 def sic @sic end |
#type ⇒ Object
Returns the value of attribute type.
112 113 114 |
# File 'lib/ofx.rb', line 112 def type @type end |