bofa

package
v0.0.0-...-9cff30b Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fields

type Fields struct {
	User    string
	Account string
}

type Parser

type Parser struct{}

func (Parser) Filetype

func (Parser) Filetype() string

func (Parser) Parse

func (Parser) Parse(acc pfin.Account, filename string, data []byte) (txns []pfin.Transaction, err error)

type Raw

type Raw struct {
	Date           util.DateUS `csv:"Date"`
	Description    string      `csv:"Description"`
	Amount         util.Amount `csv:"Amount,omitempty"`
	RunningBalance util.Amount `csv:"Running Bal."`
}

type Transaction

type Transaction struct {
	Fields // computed fields
	Raw    // csv fields
}

func (Transaction) Account

func (tx Transaction) Account() string

func (Transaction) Amount

func (tx Transaction) Amount() float64

func (Transaction) Card

func (tx Transaction) Card() string

func (Transaction) Category

func (tx Transaction) Category() string

func (Transaction) Date

func (tx Transaction) Date() time.Time

func (Transaction) Name

func (tx Transaction) Name() string

func (Transaction) String

func (tx Transaction) String() string

func (Transaction) User

func (tx Transaction) User() string

Jump to

Keyboard shortcuts

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