Class: LunchMoney::Objects::PlaidAccount

Inherits:
Object
  • Object
show all
Defined in:
lib/lunchmoney/objects/plaid_account.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Object

#serialize

Constructor Details

#initialize(date_linked:, name:, type:, mask:, institution_name:, status:, balance:, currency:, balance_last_update:, display_name:, id:, plaid_last_successful_update:, last_import: nil, limit: nil, subtype: nil, import_start_date: nil, last_fetch: nil) ⇒ PlaidAccount

Returns a new instance of PlaidAccount.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/lunchmoney/objects/plaid_account.rb', line 51

def initialize(date_linked:, name:, type:, mask:, institution_name:, status:, balance:, currency:,
  balance_last_update:, display_name:, id:, plaid_last_successful_update:, last_import: nil, limit: nil,
  subtype: nil, import_start_date: nil, last_fetch: nil)
  super()
  @id = id
  @date_linked = date_linked
  @name = name
  @display_name = display_name
  @type = type
  @subtype = subtype
  @mask = mask
  @institution_name = institution_name
  @status = status
  @limit = limit
  @balance = balance
  @currency = currency
  @balance_last_update = balance_last_update
  @import_start_date = import_start_date
  @last_import = last_import
  @last_fetch = last_fetch
  @plaid_last_successful_update = plaid_last_successful_update
end

Instance Attribute Details

#balanceObject

Returns the value of attribute balance.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def balance
  @balance
end

#balance_last_updateObject

Returns the value of attribute balance_last_update.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def balance_last_update
  @balance_last_update
end

#currencyObject

Returns the value of attribute currency.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def currency
  @currency
end

#date_linkedObject

Returns the value of attribute date_linked.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def date_linked
  @date_linked
end

#display_nameObject

Returns the value of attribute display_name.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def display_name
  @display_name
end

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/lunchmoney/objects/plaid_account.rb', line 9

def id
  @id
end

#import_start_dateObject

Returns the value of attribute import_start_date.



25
26
27
# File 'lib/lunchmoney/objects/plaid_account.rb', line 25

def import_start_date
  @import_start_date
end

#institution_nameObject

Returns the value of attribute institution_name.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def institution_name
  @institution_name
end

#last_fetchObject

Returns the value of attribute last_fetch.



25
26
27
# File 'lib/lunchmoney/objects/plaid_account.rb', line 25

def last_fetch
  @last_fetch
end

#last_importObject

Returns the value of attribute last_import.



25
26
27
# File 'lib/lunchmoney/objects/plaid_account.rb', line 25

def last_import
  @last_import
end

#limitObject

Returns the value of attribute limit.



28
29
30
# File 'lib/lunchmoney/objects/plaid_account.rb', line 28

def limit
  @limit
end

#maskObject

Returns the value of attribute mask.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def mask
  @mask
end

#nameObject

Returns the value of attribute name.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def name
  @name
end

#plaid_last_successful_updateObject

Returns the value of attribute plaid_last_successful_update.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def plaid_last_successful_update
  @plaid_last_successful_update
end

#statusObject

Returns the value of attribute status.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def status
  @status
end

#subtypeObject

Returns the value of attribute subtype.



25
26
27
# File 'lib/lunchmoney/objects/plaid_account.rb', line 25

def subtype
  @subtype
end

#typeObject

Returns the value of attribute type.



12
13
14
# File 'lib/lunchmoney/objects/plaid_account.rb', line 12

def type
  @type
end