accounts

package
v0.0.0-...-c487bb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrRecordInvalid invalid record found
	ErrRecordInvalid = errors.New("Record is invalid")
)

errors

Functions

This section is empty.

Types

type Account

type Account struct {
	ID                int64  `json:"id"`
	FinancialEntityID int64  `json:"financialEntityID"`
	Name              string `json:"name"`
	AccountTypeID     int64  `json:"accountTypeID"`
}

Account holds items for accounts info

func GetAccounts

func GetAccounts(accountID int64, accountType int64) ([]Account, error)

GetAccounts returns info from all the accounts

func GetFavouriteAccounts

func GetFavouriteAccounts(accountType int64) ([]Account, error)

GetAccounts returns info from the accounts marked as favourites

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL