Class: Figo::Payment
Overview
Object representing a Payment
Instance Attribute Summary collapse
-
#account_id ⇒ String
Internal figo Connect account ID.
-
#account_number ⇒ String
Account number of creditor or debtor.
-
#amount ⇒ DecNum
Order amount.
-
#bank_additional_icons ⇒ Hash
Icon of the creditor or debtor bank in other resolutions.
-
#bank_code ⇒ String
Bank code of creditor or debtor.
-
#bank_icon ⇒ String
Icon of creditor or debtor bank.
-
#bank_name ⇒ String
Bank name of creditor or debtor.
-
#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 creditor or debtor.
-
#payment_id ⇒ String
Internal figo Connect payment ID.
-
#purpose ⇒ String
Purpose text.
-
#submission_timestamp ⇒ DateTime
Timestamp of submission to the bank server.
-
#transaction_id ⇒ String
ID of the transaction corresponding to this payment.
-
#type ⇒ String
Payment type.
Instance Method Summary collapse
-
#initialize(session, json) ⇒ Payment
constructor
A new instance of Payment.
Methods inherited from Base
Constructor Details
#initialize(session, json) ⇒ Payment
7 8 9 |
# File 'lib/payment/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/payment/model.rb', line 17 def account_id @account_id end |
#account_number ⇒ String
Account number of creditor or debtor
29 30 31 |
# File 'lib/payment/model.rb', line 29 def account_number @account_number end |
#amount ⇒ DecNum
Order amount
49 50 51 |
# File 'lib/payment/model.rb', line 49 def amount @amount end |
#bank_additional_icons ⇒ Hash
Icon of the creditor or debtor bank in other resolutions
45 46 47 |
# File 'lib/payment/model.rb', line 45 def bank_additional_icons @bank_additional_icons end |
#bank_code ⇒ String
Bank code of creditor or debtor
33 34 35 |
# File 'lib/payment/model.rb', line 33 def bank_code @bank_code end |
#bank_icon ⇒ String
Icon of creditor or debtor bank
41 42 43 |
# File 'lib/payment/model.rb', line 41 def bank_icon @bank_icon end |
#bank_name ⇒ String
Bank name of creditor or debtor
37 38 39 |
# File 'lib/payment/model.rb', line 37 def bank_name @bank_name end |
#creation_timestamp ⇒ DateTime
Internal creation timestamp on the figo Connect server
65 66 67 |
# File 'lib/payment/model.rb', line 65 def end |
#currency ⇒ String
Three-character currency code
53 54 55 |
# File 'lib/payment/model.rb', line 53 def currency @currency end |
#modification_timestamp ⇒ DateTime
Internal modification timestamp on the figo Connect server
69 70 71 |
# File 'lib/payment/model.rb', line 69 def end |
#name ⇒ String
Name of creditor or debtor
25 26 27 |
# File 'lib/payment/model.rb', line 25 def name @name end |
#payment_id ⇒ String
Internal figo Connect payment ID
13 14 15 |
# File 'lib/payment/model.rb', line 13 def payment_id @payment_id end |
#purpose ⇒ String
Purpose text
57 58 59 |
# File 'lib/payment/model.rb', line 57 def purpose @purpose end |
#submission_timestamp ⇒ DateTime
Timestamp of submission to the bank server
61 62 63 |
# File 'lib/payment/model.rb', line 61 def end |
#transaction_id ⇒ String
ID of the transaction corresponding to this payment. This field is only set if the payment has been matched to a transaction
73 74 75 |
# File 'lib/payment/model.rb', line 73 def transaction_id @transaction_id end |
#type ⇒ String
Payment type
21 22 23 |
# File 'lib/payment/model.rb', line 21 def type @type end |