Class: LunchMoney::Objects::RecurringExpense
- Inherits:
-
RecurringExpenseBase
- Object
- Object
- RecurringExpenseBase
- LunchMoney::Objects::RecurringExpense
- Defined in:
- lib/lunchmoney/objects/recurring_expense.rb
Overview
Instance Attribute Summary collapse
- #asset_id ⇒ Integer?
- #billing_date ⇒ String
- #cadence ⇒ String
- #category_id ⇒ Integer?
- #created_at ⇒ String
- #description ⇒ String?
- #end_date ⇒ String?
- #id ⇒ Integer
- #original_name ⇒ String?
- #plaid_account_id ⇒ Integer?
- #source ⇒ String
- #start_date ⇒ String?
- #transaction_id ⇒ Integer?
- #type ⇒ String
Attributes inherited from RecurringExpenseBase
#amount, #currency, #payee, #to_base
Instance Method Summary collapse
Methods inherited from Object
Constructor Details
#initialize(cadence:, payee:, amount:, currency:, billing_date:, type:, source:, id:, created_at:, category_id: nil, start_date: nil, end_date: nil, description: nil, original_name: nil, plaid_account_id: nil, asset_id: nil, transaction_id: nil, to_base: nil) ⇒ void
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 43 def initialize(cadence:, payee:, amount:, currency:, billing_date:, type:, source:, id:, created_at:, category_id: nil, start_date: nil, end_date: nil, description: nil, original_name: nil, plaid_account_id: nil, asset_id: nil, transaction_id: nil, to_base: nil) super(payee:, amount:, currency:, to_base:) @cadence = cadence @payee = payee @amount = amount @currency = currency @billing_date = billing_date @type = type @source = source @id = id @category_id = category_id @created_at = created_at @start_date = start_date @end_date = end_date @description = description @original_name = original_name @plaid_account_id = plaid_account_id @asset_id = asset_id @transaction_id = transaction_id @to_base = to_base end |
Instance Attribute Details
#asset_id ⇒ Integer?
19 20 21 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 19 def asset_id @asset_id end |
#billing_date ⇒ String
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def billing_date @billing_date end |
#cadence ⇒ String
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def cadence @cadence end |
#category_id ⇒ Integer?
19 20 21 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 19 def category_id @category_id end |
#created_at ⇒ String
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def created_at @created_at end |
#description ⇒ String?
13 14 15 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 13 def description @description end |
#end_date ⇒ String?
13 14 15 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 13 def end_date @end_date end |
#id ⇒ Integer
10 11 12 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 10 def id @id end |
#original_name ⇒ String?
13 14 15 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 13 def original_name @original_name end |
#plaid_account_id ⇒ Integer?
19 20 21 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 19 def plaid_account_id @plaid_account_id end |
#source ⇒ String
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def source @source end |
#start_date ⇒ String?
13 14 15 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 13 def start_date @start_date end |
#transaction_id ⇒ Integer?
19 20 21 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 19 def transaction_id @transaction_id end |
#type ⇒ String
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def type @type end |