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 ⇒ Object
Returns the value of attribute asset_id.
-
#billing_date ⇒ Object
Returns the value of attribute billing_date.
-
#cadence ⇒ Object
Returns the value of attribute cadence.
-
#category_id ⇒ Object
Returns the value of attribute category_id.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#original_name ⇒ Object
Returns the value of attribute original_name.
-
#plaid_account_id ⇒ Object
Returns the value of attribute plaid_account_id.
-
#source ⇒ Object
Returns the value of attribute source.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from RecurringExpenseBase
#amount, #currency, #payee, #to_base
Instance Method Summary collapse
-
#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) ⇒ RecurringExpense
constructor
A new instance of RecurringExpense.
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) ⇒ RecurringExpense
Returns a new instance of RecurringExpense.
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 ⇒ Object
Returns the value of attribute asset_id.
19 20 21 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 19 def asset_id @asset_id end |
#billing_date ⇒ Object
Returns the value of attribute billing_date.
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def billing_date @billing_date end |
#cadence ⇒ Object
Returns the value of attribute cadence.
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def cadence @cadence end |
#category_id ⇒ Object
Returns the value of attribute category_id.
19 20 21 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 19 def category_id @category_id end |
#created_at ⇒ Object
Returns the value of attribute created_at.
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
13 14 15 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 13 def description @description end |
#end_date ⇒ Object
Returns the value of attribute end_date.
13 14 15 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 13 def end_date @end_date end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 10 def id @id end |
#original_name ⇒ Object
Returns the value of attribute original_name.
13 14 15 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 13 def original_name @original_name end |
#plaid_account_id ⇒ Object
Returns the value of attribute plaid_account_id.
19 20 21 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 19 def plaid_account_id @plaid_account_id end |
#source ⇒ Object
Returns the value of attribute source.
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def source @source end |
#start_date ⇒ Object
Returns the value of attribute start_date.
13 14 15 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 13 def start_date @start_date end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
19 20 21 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 19 def transaction_id @transaction_id end |
#type ⇒ Object
Returns the value of attribute type.
16 17 18 |
# File 'lib/lunchmoney/objects/recurring_expense.rb', line 16 def type @type end |