John Starich
212fdc731b
Omit end tags for encoding OFX 100-series requests
...
Closes https://github.com/aclindsa/ofxgo/issues/18
2019-07-01 06:11:16 -04:00
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
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
1e55cb8bd7
Switch to copy of encoding/xml with only that subdirectory
2017-10-02 09:21:56 -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
0eba6741f2
Make the OFX spec version an 'enum'
2017-04-17 10:54:20 -04:00
Aaron Lindsay
1ff64a9d55
Comment investments, profiles, seclist, signon, signup, and types
2017-04-13 10:18:07 -04:00
Aaron Lindsay
cc90da4ed1
s/Id/ID/
2017-04-12 21:40:42 -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
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
d07455d797
Improve some request/response documentation
2017-03-31 15:29:57 -04:00
Aaron Lindsay
f185d78d29
Generalize response parsing code
...
This removes the many decodeXXXMessageSet() functions and replaces them
with a large map and a single generic decodeMessageSet() function. Also
change Responses to satisfy the Message interface as pointer types
(instead of the raw types), add the full set of top-level message sets
(though most of them still lack any message-parsing ability), adjust the
message set names to more closely mirror their OFX names, and fixup
tests and the command-line client to match the above changes.
2017-03-31 11:54:43 -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
119c01f99b
Make setting request fields from Client a Request method
...
This also makes it possible to call this method for testing without
making an HTTP request.
2017-03-29 08:56:35 -04:00
Aaron Lindsay
f2cea7c6d4
Switch to own clone of xml encoding library
2017-03-22 20:59:40 -04:00
Aaron Lindsay
6491311dbc
Move credit cards to the right message set
...
They don't belong in with the banking message set like they were, even
though they're in the same section in the spec...
2017-03-22 20:01:30 -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