Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountType ¶
type AccountType int
AccountType indicates type of account represented by OFX document.
const ( // UNKNOWN - Account type could not be determined UNKNOWN AccountType = iota // CHECKING - Checking account CHECKING AccountType = iota // SAVING - Savings account SAVING AccountType = iota )
type Amount ¶
func (*Amount) ParseFromString ¶
type Ofx ¶
type Ofx struct { Type AccountType BankCode string BranchCode string AccountNumber string Transactions []*Transaction }
Ofx contains a parsed Ofx document.
type Transaction ¶
type Transaction struct { Type TransactionType Description string Memo string PostedDate time.Time UserDate time.Time ID string Amount Amount }
func (Transaction) String ¶
func (t Transaction) String() string
type TransactionType ¶
type TransactionType int
TransactionType indicates type of transaction (Debit/Credit).
const ( DEBIT TransactionType = iota CREDIT TransactionType = iota )
func (TransactionType) String ¶
func (i TransactionType) String() string
Click to show internal directories.
Click to hide internal directories.