uphold

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvTX

type CsvTX struct {
	Date                time.Time
	Destination         string
	DestinationAmount   decimal.Decimal
	DestinationCurrency string
	FeeAmount           decimal.Decimal
	FeeCurrency         string
	ID                  string
	Origin              string
	OriginAmount        decimal.Decimal
	OriginCurrency      string
	Status              string
	Type                string
}

type Uphold

type Uphold struct {
	CsvTXs        []CsvTX
	TXsByCategory wallet.TXsByCategory
	Sources       source.Sources
}

func New

func New() *Uphold

func (*Uphold) ParseCSV

func (uh *Uphold) ParseCSV(reader io.Reader, cat category.Category, account string) (err error)

Jump to

Keyboard shortcuts

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