rakuten

package
v0.0.0-...-4fc43a1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoggedInCookies

func GetLoggedInCookies(id string, password string, selectCardNo string) ([]*http.Cookie, error)

func GetMonthlyTotal

func GetMonthlyTotal(s *Statement) map[string]int

func ReadStatementCsv

func ReadStatementCsv(cookies []*http.Cookie) ([][]string, error)

Types

type Payment

type Payment struct {
	Title    string
	Price    int
	UsedAt   time.Time
	DueMonth string
}

type Statement

type Statement struct {
	Payments []*Payment
}

func NewStatement

func NewStatement(statementCsvRecords [][]string) (*Statement, error)

Jump to

Keyboard shortcuts

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