Class: Figo::Transaction
Overview
Object representing one bank transaction on a certain bank account of the User
Instance Attribute Summary collapse
-
#account_id ⇒ String
Internal figo Connect account ID.
-
#account_number ⇒ String
Account number of originator or recipient.
-
#amount ⇒ DecNum
Transaction amount.
-
#bank_code ⇒ String
Bank code of originator or recipient.
-
#bank_name ⇒ String
Bank name of originator or recipient.
-
#booked ⇒ Boolean
This flag indicates whether the transaction is booked or pending.
-
#booking_date ⇒ Date
Booking date.
-
#booking_text ⇒ String
Booking text.
-
#creation_timestamp ⇒ DateTime
Internal creation timestamp on the figo Connect server.
-
#currency ⇒ String
Three-character currency code.
-
#modification_timestamp ⇒ DateTime
Internal modification timestamp on the figo Connect server.
-
#name ⇒ String
Name of originator or recipient.
-
#purpose ⇒ String
Purpose text.
-
#transaction_id ⇒ String
Internal figo Connect transaction ID.
-
#type ⇒ String
Transaction type.
-
#value_date ⇒ Date
Value date.
Instance Method Summary collapse
-
#initialize(session, json) ⇒ Transaction
constructor
A new instance of Transaction.
Methods inherited from Base
Constructor Details
#initialize(session, json) ⇒ Transaction
Returns a new instance of Transaction.
7 8 9 |
# File 'lib/transaction/model.rb', line 7 def initialize(session, json) super(session, json) end |
Instance Attribute Details
#account_id ⇒ String
Internal figo Connect account ID
17 18 19 |
# File 'lib/transaction/model.rb', line 17 def account_id @account_id end |
#account_number ⇒ String
Account number of originator or recipient
25 26 27 |
# File 'lib/transaction/model.rb', line 25 def account_number @account_number end |
#amount ⇒ DecNum
Transaction amount
37 38 39 |
# File 'lib/transaction/model.rb', line 37 def amount @amount end |
#bank_code ⇒ String
Bank code of originator or recipient
29 30 31 |
# File 'lib/transaction/model.rb', line 29 def bank_code @bank_code end |
#bank_name ⇒ String
Bank name of originator or recipient
33 34 35 |
# File 'lib/transaction/model.rb', line 33 def bank_name @bank_name end |
#booked ⇒ Boolean
This flag indicates whether the transaction is booked or pending
65 66 67 |
# File 'lib/transaction/model.rb', line 65 def booked @booked end |
#booking_date ⇒ Date
Booking date
45 46 47 |
# File 'lib/transaction/model.rb', line 45 def booking_date @booking_date end |
#booking_text ⇒ String
Booking text
61 62 63 |
# File 'lib/transaction/model.rb', line 61 def booking_text @booking_text end |
#creation_timestamp ⇒ DateTime
Internal creation timestamp on the figo Connect server
69 70 71 |
# File 'lib/transaction/model.rb', line 69 def @creation_timestamp end |
#currency ⇒ String
Three-character currency code
41 42 43 |
# File 'lib/transaction/model.rb', line 41 def currency @currency end |
#modification_timestamp ⇒ DateTime
Internal modification timestamp on the figo Connect server
73 74 75 |
# File 'lib/transaction/model.rb', line 73 def @modification_timestamp end |
#name ⇒ String
Name of originator or recipient
21 22 23 |
# File 'lib/transaction/model.rb', line 21 def name @name end |
#purpose ⇒ String
Purpose text
53 54 55 |
# File 'lib/transaction/model.rb', line 53 def purpose @purpose end |
#transaction_id ⇒ String
Internal figo Connect transaction ID
13 14 15 |
# File 'lib/transaction/model.rb', line 13 def transaction_id @transaction_id end |
#type ⇒ String
Transaction type
57 58 59 |
# File 'lib/transaction/model.rb', line 57 def type @type end |
#value_date ⇒ Date
Value date
49 50 51 |
# File 'lib/transaction/model.rb', line 49 def value_date @value_date end |