~mendelmaleh/pfin

da1cda1283c0a7dddf67b6154563ffdcb6e903b5 — Mendel Elmaleh 2 months ago b8d4ee5
Implement tx.Card() for chase

Business cards only
2 files changed, 2 insertions(+), 2 deletions(-)

M parser/chase/interface.go
M parser/chase/types.go
M parser/chase/interface.go => parser/chase/interface.go +1 -2
@@ 25,9 25,8 @@ func (tx Transaction) Category() string {
	return tx.Raw.Category
}

// not implemented
func (tx Transaction) Card() string {
	return ""
	return tx.Raw.Card
}

func (tx Transaction) User() string {

M parser/chase/types.go => parser/chase/types.go +1 -0
@@ 13,6 13,7 @@ type Fields struct {
}

type Raw struct {
	Card            string      `csv:"Card"`
	TransactionDate util.DateUS `csv:"Transaction Date"`
	PostDate        util.DateUS `csv:"Post Date"`
	Description     string      `csv:"Description"`