package chase
import "git.sr.ht/~mendelmaleh/pfin/parser/chase"
Index ¶
- type Fields
- type Parser
- func (Parser) Filetype() string
- func (Parser) Parse(acc pfin.Account, filename string, data []byte) (txns []pfin.Transaction, err error)
- type Raw
- type Transaction
- func (tx Transaction) Account() string
- func (tx Transaction) Amount() float64
- func (tx Transaction) Card() string
- func (tx Transaction) Category() string
- func (tx Transaction) Date() time.Time
- func (tx Transaction) Name() string
- func (tx Transaction) String() string
- func (tx Transaction) User() string
Types ¶
type Fields ¶
type Parser ¶
type Parser struct{}
func (Parser) Filetype ¶
func (Parser) Parse ¶
func (Parser) Parse(acc pfin.Account, filename string, data []byte) (txns []pfin.Transaction, err error)
type Raw ¶
type Raw struct { Card string `csv:"Card"` TransactionDate util.DateUS `csv:"Transaction Date"` PostDate util.DateUS `csv:"Post Date"` Description string `csv:"Description"` Category string `csv:"Category"` Type string `csv:"Type"` Amount float64 `csv:"Amount"` Memo string `csv:"Memo"` }
type Transaction ¶
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
should be util.FormatTx
func (Transaction) User ¶
func (tx Transaction) User() string
Source Files ¶
interface.go parser.go types.go
- Version
- v0.0.0-20240211185340-c44b6515a97b (latest)
- Published
- Feb 11, 2024
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 weeks ago –
Tools for package owners.