Class: OFX::Transaction
- Inherits:
-
Object
- Object
- OFX::Transaction
- Defined in:
- lib/ofx/statements.rb,
lib/ofx/1.0.2/statements.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#check_number ⇒ Object
Returns the value of attribute check_number.
-
#corrected_financial_institution_transaction_identifier ⇒ Object
Returns the value of attribute corrected_financial_institution_transaction_identifier.
-
#correction_action ⇒ Object
Returns the value of attribute correction_action.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#date_available ⇒ Object
Returns the value of attribute date_available.
-
#date_initiated ⇒ Object
Returns the value of attribute date_initiated.
-
#date_posted ⇒ Object
Returns the value of attribute date_posted.
-
#financial_institution_transaction_identifier ⇒ Object
Returns the value of attribute financial_institution_transaction_identifier.
-
#memo ⇒ Object
Returns the value of attribute memo.
-
#payee ⇒ Object
Returns the value of attribute payee.
-
#payee_identifier ⇒ Object
Returns the value of attribute payee_identifier.
-
#reference_number ⇒ Object
Returns the value of attribute reference_number.
-
#server_transaction_identifier ⇒ Object
Returns the value of attribute server_transaction_identifier.
-
#standard_industrial_code ⇒ Object
Returns the value of attribute standard_industrial_code.
-
#transaction_type ⇒ Object
Returns the value of attribute transaction_type.
-
#transfer_destination_account ⇒ Object
Returns the value of attribute transfer_destination_account.
Class Method Summary collapse
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
31 32 33 |
# File 'lib/ofx/statements.rb', line 31 def amount @amount end |
#check_number ⇒ Object
Returns the value of attribute check_number.
38 39 40 |
# File 'lib/ofx/statements.rb', line 38 def check_number @check_number end |
#corrected_financial_institution_transaction_identifier ⇒ Object
Returns the value of attribute corrected_financial_institution_transaction_identifier.
35 36 37 |
# File 'lib/ofx/statements.rb', line 35 def corrected_financial_institution_transaction_identifier @corrected_financial_institution_transaction_identifier end |
#correction_action ⇒ Object
Returns the value of attribute correction_action.
36 37 38 |
# File 'lib/ofx/statements.rb', line 36 def correction_action @correction_action end |
#currency ⇒ Object
Returns the value of attribute currency.
32 33 34 |
# File 'lib/ofx/statements.rb', line 32 def currency @currency end |
#date_available ⇒ Object
Returns the value of attribute date_available.
29 30 31 |
# File 'lib/ofx/statements.rb', line 29 def date_available @date_available end |
#date_initiated ⇒ Object
Returns the value of attribute date_initiated.
28 29 30 |
# File 'lib/ofx/statements.rb', line 28 def date_initiated @date_initiated end |
#date_posted ⇒ Object
Returns the value of attribute date_posted.
27 28 29 |
# File 'lib/ofx/statements.rb', line 27 def date_posted @date_posted end |
#financial_institution_transaction_identifier ⇒ Object
Returns the value of attribute financial_institution_transaction_identifier.
34 35 36 |
# File 'lib/ofx/statements.rb', line 34 def financial_institution_transaction_identifier @financial_institution_transaction_identifier end |
#memo ⇒ Object
Returns the value of attribute memo.
47 48 49 |
# File 'lib/ofx/statements.rb', line 47 def memo @memo end |
#payee ⇒ Object
Returns the value of attribute payee.
44 45 46 |
# File 'lib/ofx/statements.rb', line 44 def payee @payee end |
#payee_identifier ⇒ Object
Returns the value of attribute payee_identifier.
43 44 45 |
# File 'lib/ofx/statements.rb', line 43 def payee_identifier @payee_identifier end |
#reference_number ⇒ Object
Returns the value of attribute reference_number.
39 40 41 |
# File 'lib/ofx/statements.rb', line 39 def reference_number @reference_number end |
#server_transaction_identifier ⇒ Object
Returns the value of attribute server_transaction_identifier.
37 38 39 |
# File 'lib/ofx/statements.rb', line 37 def server_transaction_identifier @server_transaction_identifier end |
#standard_industrial_code ⇒ Object
Returns the value of attribute standard_industrial_code.
41 42 43 |
# File 'lib/ofx/statements.rb', line 41 def standard_industrial_code @standard_industrial_code end |
#transaction_type ⇒ Object
Returns the value of attribute transaction_type.
25 26 27 |
# File 'lib/ofx/statements.rb', line 25 def transaction_type @transaction_type end |
#transfer_destination_account ⇒ Object
Returns the value of attribute transfer_destination_account.
45 46 47 |
# File 'lib/ofx/statements.rb', line 45 def transfer_destination_account @transfer_destination_account end |
Class Method Details
.ofx_102_transaction_type_name_to_transaction_type(transaction_type_name) ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/ofx/1.0.2/statements.rb', line 31 def self.ofx_102_transaction_type_name_to_transaction_type(transaction_type_name) case transaction_type_name when 'CREDIT' then :credit when 'DEBIT' then :debit when 'INT' then :interest when 'DIV' then :dividend when 'FEE' then :fee when 'SRVCHG' then :service_charge when 'DEP' then :deposit when 'ATM' then :automated_teller_machine when 'POS' then :point_of_sale when 'XFER' then :transfer when 'CHECK' then :check when 'PAYMENT' then :electronic_payment when 'CASH' then :cash_withdrawal when 'DIRECTDEP' then :direct_deposit when 'DIRECTDEBIT' then :direct_debit when 'REPEATPMT' then :repeating_payment when 'OTHER' then :other else raise NotImplementedError end end |