mirror of
https://github.com/aclindsa/ofxgo.git
synced 2024-11-25 12:30:05 -05:00
signup: Stop using the wrong enum for InvAcctType
This commit is contained in:
parent
3009f9255c
commit
1017dbb0ae
14
signup.go
14
signup.go
@ -80,13 +80,13 @@ func (ci *CCAcctInfo) String() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type InvAcctInfo struct {
|
type InvAcctInfo struct {
|
||||||
XMLName xml.Name `xml:"INVACCTINFO"`
|
XMLName xml.Name `xml:"INVACCTINFO"`
|
||||||
InvAcctFrom InvAcct `xml:"INVACCTFROM"`
|
InvAcctFrom InvAcct `xml:"INVACCTFROM"`
|
||||||
UsProductType usProductType `xml:"USPRODUCTTYPE"` // One of 401K, 403B, IRA, KEOGH, OTHER, SARSEP, SIMPLE, NORMAL, TDA, TRUST, UGMA
|
UsProductType usProductType `xml:"USPRODUCTTYPE"` // One of 401K, 403B, IRA, KEOGH, OTHER, SARSEP, SIMPLE, NORMAL, TDA, TRUST, UGMA
|
||||||
Checking Boolean `xml:"CHECKING"` // Has check-writing privileges
|
Checking Boolean `xml:"CHECKING"` // Has check-writing privileges
|
||||||
SvcStatus svcStatus `xml:"SVCSTATUS"` // One of AVAIL (available, but not yet requested), PEND (requested, but not yet available), ACTIVE
|
SvcStatus svcStatus `xml:"SVCSTATUS"` // One of AVAIL (available, but not yet requested), PEND (requested, but not yet available), ACTIVE
|
||||||
InvAcctType acctClassification `xml:"INVACCTTYPE,omitempty"` // One of INDIVIDUAL, JOINT, TRUST, CORPORATE
|
InvAcctType holderType `xml:"INVACCTTYPE,omitempty"` // One of INDIVIDUAL, JOINT, TRUST, CORPORATE
|
||||||
OptionLevel String `xml:"OPTIONLEVEL,omitempty"` // Text desribing option trading privileges
|
OptionLevel String `xml:"OPTIONLEVEL,omitempty"` // Text desribing option trading privileges
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make pointers to these structs print nicely
|
// Make pointers to these structs print nicely
|
||||||
|
Loading…
Reference in New Issue
Block a user