Class: Figo::StandingOrder
Overview
Object representing a Payment
Instance Attribute Summary collapse
-
#account_id ⇒ String
Internal figo Connect account ID.
-
#account_number ⇒ String
Account number recipient.
-
#amount ⇒ Number
Standing order amount.
-
#bank_code ⇒ String
Bank code of recipient.
-
#bank_name ⇒ String
Bank name of recipient.
-
#creation_timestamp ⇒ Date
Internal creation timestamp on the figo Connect server.
-
#currency ⇒ String
Three-character currency code.
-
#execution_day ⇒ Number
The day the standing order gets executed.
-
#first_execution_date ⇒ Date
First execution date of the standing order.
-
#interval ⇒ String
The interval the standing order gets executed (possible values are weekly, monthly, two monthly, quarterly, half yearly and yearly).
-
#last_execution_date ⇒ Date
Last execution date of the standing order (this field might be emtpy, if no last execution date is set).
-
#modification_timestamp ⇒ Date
Internal modification timestamp on the figo.
-
#name ⇒ String
Name of recipient.
-
#purpose ⇒ String
Purpose text (this field might be empty if the standing order has no purpose).
-
#standing_order_id ⇒ String
Internal figo Connect standing order ID.
Instance Method Summary collapse
-
#initialize(session, json) ⇒ StandingOrder
constructor
A new instance of StandingOrder.
Methods inherited from Base
Constructor Details
#initialize(session, json) ⇒ StandingOrder
Returns a new instance of StandingOrder.
7 8 9 |
# File 'lib/standing_order/model.rb', line 7 def initialize(session, json) super(session, json) end |
Instance Attribute Details
#account_id ⇒ String
Internal figo Connect account ID
21 22 23 |
# File 'lib/standing_order/model.rb', line 21 def account_id @account_id end |
#account_number ⇒ String
Account number recipient
45 46 47 |
# File 'lib/standing_order/model.rb', line 45 def account_number @account_number end |
#amount ⇒ Number
Standing order amount
57 58 59 |
# File 'lib/standing_order/model.rb', line 57 def amount @amount end |
#bank_code ⇒ String
Bank code of recipient
49 50 51 |
# File 'lib/standing_order/model.rb', line 49 def bank_code @bank_code end |
#bank_name ⇒ String
Bank name of recipient
53 54 55 |
# File 'lib/standing_order/model.rb', line 53 def bank_name @bank_name end |
#creation_timestamp ⇒ Date
Internal creation timestamp on the figo Connect server
69 70 71 |
# File 'lib/standing_order/model.rb', line 69 def @creation_timestamp end |
#currency ⇒ String
Three-character currency code
61 62 63 |
# File 'lib/standing_order/model.rb', line 61 def currency @currency end |
#execution_day ⇒ Number
The day the standing order gets executed
33 34 35 |
# File 'lib/standing_order/model.rb', line 33 def execution_day @execution_day end |
#first_execution_date ⇒ Date
First execution date of the standing order
25 26 27 |
# File 'lib/standing_order/model.rb', line 25 def first_execution_date @first_execution_date end |
#interval ⇒ String
The interval the standing order gets executed (possible values are weekly, monthly, two monthly, quarterly, half yearly and yearly)
37 38 39 |
# File 'lib/standing_order/model.rb', line 37 def interval @interval end |
#last_execution_date ⇒ Date
Last execution date of the standing order (this field might be emtpy, if no last execution date is set)
29 30 31 |
# File 'lib/standing_order/model.rb', line 29 def last_execution_date @last_execution_date end |
#modification_timestamp ⇒ Date
Internal modification timestamp on the figo
73 74 75 |
# File 'lib/standing_order/model.rb', line 73 def @modification_timestamp end |
#name ⇒ String
Name of recipient
13 14 15 |
# File 'lib/standing_order/model.rb', line 13 def name @name end |
#purpose ⇒ String
Purpose text (this field might be empty if the standing order has no purpose)
65 66 67 |
# File 'lib/standing_order/model.rb', line 65 def purpose @purpose end |
#standing_order_id ⇒ String
Internal figo Connect standing order ID
17 18 19 |
# File 'lib/standing_order/model.rb', line 17 def standing_order_id @standing_order_id end |