class N2y::YNAB::Transaction
- N2y::YNAB::Transaction
- Reference
- Object
Overview
Transaction to send to YNAB.
Included Modules
- JSON::Serializable
Defined in:
n2y/ynab/transaction.crConstructors
- .new(pull : JSON::PullParser)
- .new(*, account_id : String | Nil = nil, date : String | Nil = nil, amount : Int32 | Nil = nil, payee_name : String | Nil = nil, import_id : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #account_id : String | Nil
- #account_id=(account_id : String | Nil)
-
#amount : Int32 | Nil
Amount in milliunits format.
-
#amount=(amount : Int32 | Nil)
Amount in milliunits format.
- #cleared : String
- #cleared=(cleared : String)
- #date : String | Nil
- #date=(date : String | Nil)
- #import_id : String | Nil
- #import_id=(import_id : String | Nil)
- #payee_name : String | Nil
- #payee_name=(payee_name : String | Nil)
Constructor Detail
def self.new(*, account_id : String | Nil = nil, date : String | Nil = nil, amount : Int32 | Nil = nil, payee_name : String | Nil = nil, import_id : String | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.