Documentation
¶
Index ¶
- Constants
- func LedgerAccountName(a Account) string
- func New(url string, config Config) (ofxgo.Client, error)
- func Transactions(account Account, start, end time.Time) ([]ledger.Transaction, error)
- type Account
- func AccountsFromOFXClientINI(fileName string) ([]Account, error)
- func NewCheckingAccount(id, bankID, description string, institution Institution) Account
- func NewCreditCard(id, description string, institution Institution) Account
- func NewSavingsAccount(id, bankID, description string, institution Institution) Account
- type Bank
- type Checking
- type Config
- type CreditCard
- type Institution
- type Savings
Constants ¶
View Source
const (
RedactSuffixLength = 4
)
Variables ¶
This section is empty.
Functions ¶
func LedgerAccountName ¶
func Transactions ¶
Transactions downloads and returns transactions from a bank or credit card account for the given time period, ending today
Types ¶
type Account ¶
type Account interface {
ID() string
Description() string
Institution() Institution
Statement(start, end time.Time) (ofxgo.Request, error)
}
func AccountsFromOFXClientINI ¶ added in v0.2.0
func NewCheckingAccount ¶
func NewCheckingAccount(id, bankID, description string, institution Institution) Account
func NewCreditCard ¶
func NewCreditCard(id, description string, institution Institution) Account
func NewSavingsAccount ¶
func NewSavingsAccount(id, bankID, description string, institution Institution) Account
type CreditCard ¶
type CreditCard struct {
// contains filtered or unexported fields
}
func (CreditCard) Description ¶
func (b CreditCard) Description() string
func (CreditCard) Institution ¶
func (b CreditCard) Institution() Institution
type Institution ¶
type Institution interface {
Description() string
FID() string
Org() string
URL() string
Username() string
Password() string
Config() Config
}
func NewInstitution ¶
func NewInstitution( description, fid, org, url, username, password string, config Config, ) Institution
Click to show internal directories.
Click to hide internal directories.