class N2y::YNAB::Transaction

Overview

Transaction to send to YNAB.

Included Modules

Defined in:

n2y/ynab/transaction.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def account_id : String | Nil #

[View source]
def account_id=(account_id : String | Nil) #

[View source]
def amount : Int32 | Nil #

Amount in milliunits format.


[View source]
def amount=(amount : Int32 | Nil) #

Amount in milliunits format.


[View source]
def cleared : String #

[View source]
def cleared=(cleared : String) #

[View source]
def date : String | Nil #

[View source]
def date=(date : String | Nil) #

[View source]
def import_id : String | Nil #

[View source]
def import_id=(import_id : String | Nil) #

[View source]
def payee_name : String | Nil #

[View source]
def payee_name=(payee_name : String | Nil) #

[View source]