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) ⇒ void

Parameters:

  • date_linked (String)
  • name (String)
  • type (String)
  • mask (String)
  • institution_name (String)
  • status (String)
  • balance (String)
  • currency (String)
  • balance_last_update (String)
  • display_name (String)
  • id (Integer)
  • plaid_last_successful_update (String)
  • last_import (String, nil) (defaults to: nil)
  • limit (Integer, nil) (defaults to: nil)
  • subtype (String, nil) (defaults to: nil)
  • import_start_date (String, nil) (defaults to: nil)
  • last_fetch (String, nil) (defaults to: nil)


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

#balanceString

Returns:

  • (String)


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

def balance
  @balance
end

#balance_last_updateString

Returns:

  • (String)


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

def balance_last_update
  @balance_last_update
end

#currencyString

Returns:

  • (String)


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

def currency
  @currency
end

#date_linkedString

Returns:

  • (String)


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

def date_linked
  @date_linked
end

#display_nameString

Returns:

  • (String)


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

def display_name
  @display_name
end

#idInteger

Returns:

  • (Integer)


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

def id
  @id
end

#import_start_dateString?

Returns:

  • (String, nil)


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

def import_start_date
  @import_start_date
end

#institution_nameString

Returns:

  • (String)


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

def institution_name
  @institution_name
end

#last_fetchString?

Returns:

  • (String, nil)


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

def last_fetch
  @last_fetch
end

#last_importString?

Returns:

  • (String, nil)


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

def last_import
  @last_import
end

#limitInteger?

Returns:

  • (Integer, nil)


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

def limit
  @limit
end

#maskString

Returns:

  • (String)


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

def mask
  @mask
end

#nameString

Returns:

  • (String)


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

def name
  @name
end

#plaid_last_successful_updateString

Returns:

  • (String)


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

def plaid_last_successful_update
  @plaid_last_successful_update
end

#statusString

Returns:

  • (String)


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

def status
  @status
end

#subtypeString?

Returns:

  • (String, nil)


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

def subtype
  @subtype
end

#typeString

Returns:

  • (String)


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

def type
  @type
end