Commit Graph

18 Commits

Author SHA1 Message Date
David Bartley 4f2c5582d1 Pass by value in `MarshalXML`. 2024-04-10 09:12:15 -04:00
Aaron Lindsay 1e55cb8bd7 Switch to copy of encoding/xml with only that subdirectory 2017-10-02 09:21:56 -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 faac776ca4 Add Currency type 2017-04-17 20:11:53 -04:00
Aaron Lindsay 1ff64a9d55 Comment investments, profiles, seclist, signon, signup, and types 2017-04-13 10:18:07 -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 7834d53f9b Trim spaces when unmarshalling UIDs
This ensures the correct value is parsed when SGML tags aren't closed.
Also add a test.
2017-04-03 19:46:10 -04:00
Aaron Lindsay 6efd3ae921 Add test for banking responses
This also adds a generic response equality testing framework, a missing
Status field to all current responses, and Equal() methods to all basic
types.
2017-03-30 07:08:34 -04:00
Aaron Lindsay 5596cfbf8d Don't require UIDs to be 36 characters
The spec strongly recommends this, but doesn't strictly require it
2017-03-29 09:23:15 -04:00
Aaron Lindsay f2cea7c6d4 Switch to own clone of xml encoding library 2017-03-22 20:59:40 -04:00
Aaron Lindsay 81814feaff types: Be more lenient on Date, Int, and Amount parsing
Some of these types can have stray newlines in them, and Vanguard has a
very strange bug where they repeat the time portion of a DTSTART element
for a second time (we disregard the latter portion).
2017-03-19 20:46:01 -04:00
Aaron Lindsay 257495a343 Add testing for basic types, fix some bugs 2017-03-13 21:09:15 -04:00
Aaron Lindsay 0e62af64e3 Implement Signup message parsing 2017-03-11 21:13:06 -05:00
Aaron Lindsay 74b0ff7816 Add parsing of profile messages, fix date parsing
Profile messages are still missing validation
2017-03-11 13:10:39 -05:00
Aaron Lindsay 689337d81d Remove 'Ofx' prefix on types 2017-03-11 07:18:02 -05:00
Aaron Lindsay 99cd8f7273 Initial commit 2017-03-11 07:15:15 -05:00