Commit Graph

10 Commits

Author SHA1 Message Date
John Starich 8ad638c7e2 Rename ofxgo_test package to ofxgo and remove self-imports/references
* Fix package in generate_constants.py
* Update generate_constants.py to use the new imports
2020-04-03 08:38:41 -04:00
Aaron Lindsay 35c7116654 Add the ability to marshal a Response to SGML/XML and test it
This allows for ofxgo to be used to create well-formatted OFX from poor
OFX, or even be used to generate OFX from other formats for easier
importing into financial management software.

Test this functionality by adding "round trip" testing to all existing
tests - ensure that responses' content is the same after a round trip of
marshalling and unmarshalling them.
2019-03-02 07:03:11 -05:00
Aaron Lindsay 94a77ac754 Add BasicClient, update Client to be interface
This paves the way for more easily implementing different clients for
different financial institutions
2018-10-02 20:55:25 -04:00
Aaron Lindsay 2046fa32e5 Use CurrSymbol instead of String to represent currencies 2017-04-17 20:20:22 -04:00
Aaron Lindsay 0eba6741f2 Make the OFX spec version an 'enum' 2017-04-17 10:54:20 -04:00
Aaron Lindsay cc90da4ed1 s/Id/ID/ 2017-04-12 21:40:42 -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 1560f44a3c Switch Date to contain time.Time instead of being a typedef 2017-04-04 19:50:41 -04:00
Aaron Lindsay 7f5ef5751d Switch Amount to contain big.Rat instead of being a typedef 2017-04-03 21:15:08 -04:00
Aaron Lindsay 3fa614b649 Add tests for credit card requests and responses
Including one for OFX version 102
2017-03-31 16:22:33 -04:00