Class: LunchMoney::Objects::TransactionModificationBase
- Defined in:
- lib/lunchmoney/objects/transaction_modification_base.rb
Overview
Base object used for transaction objects that are used to update transactions lunchmoney.dev/#update-transaction
Direct Known Subclasses
Instance Attribute Summary collapse
Instance Method Summary collapse
Methods inherited from Object
Constructor Details
#initialize(payee: nil, date: nil, category_id: nil, notes: nil) ⇒ void
23 24 25 26 27 28 29 |
# File 'lib/lunchmoney/objects/transaction_modification_base.rb', line 23 def initialize(payee: nil, date: nil, category_id: nil, notes: nil) super() @payee = payee @date = date @category_id = category_id @notes = notes end |
Instance Attribute Details
#category_id ⇒ Integer?
13 14 15 |
# File 'lib/lunchmoney/objects/transaction_modification_base.rb', line 13 def category_id @category_id end |
#date ⇒ String?
10 11 12 |
# File 'lib/lunchmoney/objects/transaction_modification_base.rb', line 10 def date @date end |
#notes ⇒ String?
10 11 12 |
# File 'lib/lunchmoney/objects/transaction_modification_base.rb', line 10 def notes @notes end |
#payee ⇒ String?
10 11 12 |
# File 'lib/lunchmoney/objects/transaction_modification_base.rb', line 10 def payee @payee end |