Class: Figo::StandingOrder

Inherits:
Base
  • Object
show all
Defined in:
lib/standing_order/model.rb

Overview

Object representing a Payment

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#dump, dump_attributes

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_idString

Internal figo Connect account ID

Returns:

  • (String)


21
22
23
# File 'lib/standing_order/model.rb', line 21

def 
  @account_id
end

#account_numberString

Account number recipient

Returns:

  • (String)


45
46
47
# File 'lib/standing_order/model.rb', line 45

def 
  @account_number
end

#amountNumber

Standing order amount

Returns:

  • (Number)


57
58
59
# File 'lib/standing_order/model.rb', line 57

def amount
  @amount
end

#bank_codeString

Bank code of recipient

Returns:

  • (String)


49
50
51
# File 'lib/standing_order/model.rb', line 49

def bank_code
  @bank_code
end

#bank_nameString

Bank name of recipient

Returns:

  • (String)


53
54
55
# File 'lib/standing_order/model.rb', line 53

def bank_name
  @bank_name
end

#creation_timestampDate

Internal creation timestamp on the figo Connect server

Returns:

  • (Date)


69
70
71
# File 'lib/standing_order/model.rb', line 69

def creation_timestamp
  @creation_timestamp
end

#currencyString

Three-character currency code

Returns:

  • (String)


61
62
63
# File 'lib/standing_order/model.rb', line 61

def currency
  @currency
end

#execution_dayNumber

The day the standing order gets executed

Returns:

  • (Number)


33
34
35
# File 'lib/standing_order/model.rb', line 33

def execution_day
  @execution_day
end

#first_execution_dateDate

First execution date of the standing order

Returns:

  • (Date)


25
26
27
# File 'lib/standing_order/model.rb', line 25

def first_execution_date
  @first_execution_date
end

#intervalString

The interval the standing order gets executed (possible values are weekly, monthly, two monthly, quarterly, half yearly and yearly)

Returns:

  • (String)


37
38
39
# File 'lib/standing_order/model.rb', line 37

def interval
  @interval
end

#last_execution_dateDate

Last execution date of the standing order (this field might be emtpy, if no last execution date is set)

Returns:

  • (Date)


29
30
31
# File 'lib/standing_order/model.rb', line 29

def last_execution_date
  @last_execution_date
end

#modification_timestampDate

Internal modification timestamp on the figo

Returns:

  • (Date)


73
74
75
# File 'lib/standing_order/model.rb', line 73

def modification_timestamp
  @modification_timestamp
end

#nameString

Name of recipient

Returns:

  • (String)


13
14
15
# File 'lib/standing_order/model.rb', line 13

def name
  @name
end

#purposeString

Purpose text (this field might be empty if the standing order has no purpose)

Returns:

  • (String)


65
66
67
# File 'lib/standing_order/model.rb', line 65

def purpose
  @purpose
end

#standing_order_idString

Internal figo Connect standing order ID

Returns:

  • (String)


17
18
19
# File 'lib/standing_order/model.rb', line 17

def standing_order_id
  @standing_order_id
end