Commit Graph

23 Commits

Author SHA1 Message Date
John Starich 67e527c855 Support carriage returns on new lines 2019-06-26 06:23:52 -04:00
Aaron Lindsay 286e619071 Pull out writing the OFX header to its own function
This is in preparation for also allowing responses to be written via the
library (as opposed to only read).
2019-03-01 05:51:36 -05:00
Aaron Lindsay 1e55cb8bd7 Switch to copy of encoding/xml with only that subdirectory 2017-10-02 09:21:56 -04:00
Aaron Lindsay 4cb0eb4f85 Clarify use of Currency vs. OrigCurrency 2017-04-19 21:31:45 -04:00
Aaron Lindsay 8712be5a9d Bank Transactions: Use Currency structs, not CurrSymbol directly 2017-04-18 20:17:44 -04:00
Aaron Lindsay a3e42fc903 `go vet` and `golint` 2017-04-18 19:50:04 -04:00
Aaron Lindsay 1ee7197340 Add validation of banking requests and responses 2017-04-18 19:46:23 -04:00
Aaron Lindsay 2046fa32e5 Use CurrSymbol instead of String to represent currencies 2017-04-17 20:20:22 -04:00
Aaron Lindsay 9bd9c01962 Add OFX version to Valid() calls
This allows for future differentiation based on different requirements
of different versions of the OFX specification.
2017-04-17 11:11:46 -04:00
Aaron Lindsay cc90da4ed1 s/Id/ID/ 2017-04-12 21:40:42 -04:00
Aaron Lindsay e670b52a08 common: Improve comments 2017-04-12 21:39:54 -04:00
Aaron Lindsay a05882fcda Add a few more comments 2017-04-11 06:08:40 -04:00
Aaron Lindsay d433a18df4 gofmt -s 2017-04-08 11:38:07 -04:00
Aaron Lindsay 4521bb377a Use named constants instead of strings for enum-like OFX fields
This adds a python script to generate constants.go when `go generate` is
called, and updates the structs, tests, and command-line client to all
use the new named constants.
2017-04-06 09:06:41 -04:00
Aaron Lindsay 42864dace3 Rename Response/Request Profile -> Prof
This is more in line with the rest, which match their OFX message set
names except for capitalization.
2017-04-03 19:50:16 -04:00
Aaron Lindsay 0d04085c7a Status: s/WARNING/WARN/ to comply with the spec 2017-03-31 14:53:56 -04:00
Aaron Lindsay d822179446 Add Type() to Message interface, check types when marshalling requests 2017-03-31 09:25:07 -04:00
Aaron Lindsay f3b5eb5b31 Add 'WARNING' as possible STATUS SEVERITY 2017-03-26 20:09:37 -04:00
Aaron Lindsay 3c56e60a85 Add status code validation and meaning 2017-03-24 05:45:02 -04:00
Aaron Lindsay f2cea7c6d4 Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
Aaron Lindsay a0e2c146e4 Add requesting/parsing security list 2017-03-20 21:07:58 -04:00
Aaron Lindsay f59f3713c2 Add simple investment requests/responses
This is lacking (at least) parsing the list of securities frequently
sent with investment statements
2017-03-19 21:08:58 -04:00
Aaron Lindsay 8158868432 Reorganization 2017-03-17 21:35:26 -04:00