Commit Graph

12 Commits

Author SHA1 Message Date
Aaron Lindsay 423d460747 Bank transactions: Allow transaction currencies to be empty
The XML marahaller will attempt to marshal the top-level elements, not
knowing that the lower-level elements are empty. Making them pointers
solves this.
2019-03-06 06:00:05 -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 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 6c20007ada Comment credit card statement requests/responses 2017-04-12 21:23:57 -04:00
Aaron Lindsay eee9348766 Comment bank statement requests/responses 2017-04-12 21:21:05 -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 e755650521 Rename files to more closely correspond to their message set tags 2017-03-31 15:05:59 -04:00