1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2025-07-01 19:58:37 -04:00

Add BasicClient, update Client to be interface

This paves the way for more easily implementing different clients for
different financial institutions
This commit is contained in:
2018-10-02 20:55:25 -04:00
parent 88e5521348
commit 94a77ac754
11 changed files with 45 additions and 31 deletions

View File

@ -63,7 +63,7 @@ func marshalMessageSet(e *xml.Encoder, requests []Message, set messageType, vers
// SetClientFields overwrites the fields in this Request object controlled by
// the Client
func (oq *Request) SetClientFields(c *Client) {
func (oq *Request) SetClientFields(c Client) {
oq.Signon.DtClient.Time = time.Now()
// Overwrite fields that the client controls