Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID int64 CompanyID *int64 Name string Description *string AccountNo *string Type string Closed YesNo CurrencyID int64 Version int64 Balance string TransactionCount int64 Audited }
Account with a financial instutition.
type Category ¶
type Category struct { ID int64 Code string Description *string AmountType string ParentID *int64 Security *YesNo Income *YesNo AssetExchange *YesNo Version int64 TransactionCount int64 Audited }
Category categorizes a transaction detail.
type Group ¶
type Group struct { ID int64 Name string Description *string Version int TransactionCount int64 Audited }
Group represents an alternate categorization for a transaction detail.
type Security ¶
type Security struct { AssetID int64 Type string FirstAcquired *time.Time CostBasis *float64 Dividends *float64 TransactionCount int64 Asset }
Security represents an investment security.
type Transaction ¶
type Transaction struct { ID int64 Date time.Time Memo *string ReferenceNumber *string Cleared *YesNo AccountID int64 PayeeID *int64 SecurityID *int64 Details []TransactionDetail Version int Audited }
Transaction represents a financial transaction.
func (*Transaction) PtrTo ¶
func (t *Transaction) PtrTo(column string) interface{}
type TransactionDetail ¶
type TransactionDetail struct { ID int64 TransactionID int64 TransactionCategoryID *int64 TransactionGroupID *int64 Memo *string Amount float64 AssetQuantity *float64 ExchangeAssetID *int64 RelatedDetailID *int64 Version int Audited }
TransactionDetail represents a line item of a financial transaction.
func (*TransactionDetail) PtrTo ¶
func (d *TransactionDetail) PtrTo(column string) interface{}
Click to show internal directories.
Click to hide internal directories.