Commit Graph

19 Commits

Author SHA1 Message Date
David Bartley d31ac10d08 Add `InvTransaction()` method to `InvTransaction` interface. 2024-04-10 21:16:42 -04:00
David Bartley 4f2c5582d1 Pass by value in `MarshalXML`. 2024-04-10 09:12:15 -04:00
David Bartley c2490e1c6a Add `InvPosition() InvPosition` to `Position` interface. 2023-03-14 22:10:19 -04:00
Aaron Lindsay 2caa23564a Fix spelling of 'Withholding' 2020-11-07 16:45:55 -05: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 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 bc541d881d Add transaction UID validation to all messages 2017-04-18 20:22:07 -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 33c7ad463c spelling fix 2017-04-16 20:46:32 -04:00
Aaron Lindsay 1ff64a9d55 Comment investments, profiles, seclist, signon, signup, and types 2017-04-13 10:18:07 -04:00
Aaron Lindsay a1aec204a8 Comment investment statement requests/responses 2017-04-13 06:16:23 -04:00
Aaron Lindsay cc90da4ed1 s/Id/ID/ 2017-04-12 21:40:42 -04:00
Aaron Lindsay 674aac9dba Add tests for list of positions 2017-04-10 05:27:47 -04:00
Aaron Lindsay 5009ef3c79 Spelling mistake 2017-04-06 19:17:52 -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 d7b265b995 Add open orders to investment statment responses 2017-04-01 11:05:40 -04:00
Aaron Lindsay e755650521 Rename files to more closely correspond to their message set tags 2017-03-31 15:05:59 -04:00