profile: Change 'VER' from a String to an Int

This commit is contained in:
Aaron Lindsay 2017-04-05 05:26:29 -04:00
parent f794d452c4
commit ea700b33a9
2 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ type SignonInfo struct {
type MessageSet struct {
XMLName xml.Name // <xxxMSGSETVn>
Name string // <xxxMSGSETVn> (copy of XMLName.Local)
Ver String `xml:"MSGSETCORE>VER"` // Message set version - should always match 'n' in <xxxMSGSETVn>
Ver Int `xml:"MSGSETCORE>VER"` // Message set version - should always match 'n' in <xxxMSGSETVn>
Url String `xml:"MSGSETCORE>URL"` // URL where messages in this set are to be set
OfxSec String `xml:"MSGSETCORE>OFXSEC"` // NONE or 'TYPE 1'
TranspSec Boolean `xml:"MSGSETCORE>TRANSPSEC"` // Transport-level security must be used

View File

@ -231,7 +231,7 @@ NEWFILEUID:NONE
MessageSetList: ofxgo.MessageSetList{
ofxgo.MessageSet{
Name: "SIGNONMSGSETV1",
Ver: "1",
Ver: 1,
Url: "https://ofx.example.com/cgi-ofx/exampleofx",
OfxSec: "NONE",
TranspSec: true,
@ -243,7 +243,7 @@ NEWFILEUID:NONE
},
ofxgo.MessageSet{
Name: "SIGNUPMSGSETV1",
Ver: "1",
Ver: 1,
Url: "https://ofx.example.com/cgi-ofx/exampleofx",
OfxSec: "NONE",
TranspSec: true,
@ -255,7 +255,7 @@ NEWFILEUID:NONE
},
ofxgo.MessageSet{
Name: "INVSTMTMSGSETV1",
Ver: "1",
Ver: 1,
Url: "https://ofx.example.com/cgi-ofx/exampleofx",
OfxSec: "NONE",
TranspSec: true,
@ -267,7 +267,7 @@ NEWFILEUID:NONE
},
ofxgo.MessageSet{
Name: "SECLISTMSGSETV1",
Ver: "1",
Ver: 1,
Url: "https://ofx.example.com/cgi-ofx/exampleofx",
OfxSec: "NONE",
TranspSec: true,
@ -279,7 +279,7 @@ NEWFILEUID:NONE
},
ofxgo.MessageSet{
Name: "PROFMSGSETV1",
Ver: "1",
Ver: 1,
Url: "https://ofx.example.com/cgi-ofx/exampleofx",
OfxSec: "NONE",
TranspSec: true,