Class: LunchMoney::Objects::SummarizedTransaction
- Defined in:
- lib/lunchmoney/objects/summarized_transaction.rb
Overview
https://lunchmoney.dev/#summarized-transaction-object
Instance Attribute Summary collapse
-
#amount ⇒ String
-
#category_id ⇒ Integer
-
#currency ⇒ String
-
#date ⇒ String
-
#id ⇒ Integer
-
#payee ⇒ String
-
#recurring_id ⇒ Integer
-
#to_base ⇒ Number?
Instance Method Summary collapse
-
#initialize(id:, date:, amount:, currency:, payee:, category_id:, recurring_id:, to_base: nil) ⇒ void
constructor
Methods inherited from Object
Constructor Details
#initialize(id:, date:, amount:, currency:, payee:, category_id:, recurring_id:, to_base: nil) ⇒ void
29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 29 def initialize(id:, date:, amount:, currency:, payee:, category_id:, recurring_id:, to_base: nil) super() @id = id @date = date @amount = amount @currency = currency @payee = payee @category_id = category_id @recurring_id = recurring_id @to_base = to_base end |
Instance Attribute Details
#amount ⇒ String
12 13 14 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 12 def amount @amount end |
#category_id ⇒ Integer
9 10 11 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 9 def category_id @category_id end |
#currency ⇒ String
12 13 14 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 12 def currency @currency end |
#date ⇒ String
12 13 14 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 12 def date @date end |
#id ⇒ Integer
9 10 11 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 9 def id @id end |
#payee ⇒ String
12 13 14 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 12 def payee @payee end |
#recurring_id ⇒ Integer
9 10 11 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 9 def recurring_id @recurring_id end |
#to_base ⇒ Number?
15 16 17 |
# File 'lib/lunchmoney/objects/summarized_transaction.rb', line 15 def to_base @to_base end |