-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathAccountParties10.go
94 lines (73 loc) · 3.79 KB
/
AccountParties10.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package iso20022
// Information about a party's account.
type AccountParties10 struct {
// Main party associated with the account.
PrincipalAccountParty *AccountParties5Choice `xml:"PrncplAcctPty"`
// Entity that is not the primary owner when the ownership of the investment account is split among several owners.
SecondaryOwner []*InvestmentAccountOwnershipInformation10 `xml:"ScndryOwnr,omitempty"`
// Ultimate party that is entitled to either receive the benefits of the ownership of a financial instrument, or to be paid/credited as a result of a transfer.
Beneficiary []*InvestmentAccountOwnershipInformation10 `xml:"Bnfcry,omitempty"`
// Entity that was given the authority by another entity to act on its behalf.
PowerOfAttorney []*InvestmentAccountOwnershipInformation10 `xml:"PwrOfAttny,omitempty"`
// Entity that has been appointed by a legal authority to act on behalf of a person judged to be incapacitated.
LegalGuardian []*InvestmentAccountOwnershipInformation10 `xml:"LglGuardn,omitempty"`
// Deceased's estate, or successor, to whom the respective percentage of ownership will be transferred upon the death of one of the owners.
SuccessorOnDeath []*InvestmentAccountOwnershipInformation10 `xml:"SucssrOnDth,omitempty"`
// Entity that has been appointed by a legal authority to act on behalf of a person or organisation that has gone bankrupt.
Administrator []*InvestmentAccountOwnershipInformation10 `xml:"Admstr,omitempty"`
// Other type of party.
OtherParty []*ExtendedParty7 `xml:"OthrPty,omitempty"`
// Granter role in the hedge funds industry.
Granter []*InvestmentAccountOwnershipInformation10 `xml:"Grntr,omitempty"`
// Entity that creates a trust or contributes assets to the trust.
Settlor []*InvestmentAccountOwnershipInformation10 `xml:"Sttlr,omitempty"`
}
func (a *AccountParties10) AddPrincipalAccountParty() *AccountParties5Choice {
a.PrincipalAccountParty = new(AccountParties5Choice)
return a.PrincipalAccountParty
}
func (a *AccountParties10) AddSecondaryOwner() *InvestmentAccountOwnershipInformation10 {
newValue := new(InvestmentAccountOwnershipInformation10)
a.SecondaryOwner = append(a.SecondaryOwner, newValue)
return newValue
}
func (a *AccountParties10) AddBeneficiary() *InvestmentAccountOwnershipInformation10 {
newValue := new(InvestmentAccountOwnershipInformation10)
a.Beneficiary = append(a.Beneficiary, newValue)
return newValue
}
func (a *AccountParties10) AddPowerOfAttorney() *InvestmentAccountOwnershipInformation10 {
newValue := new(InvestmentAccountOwnershipInformation10)
a.PowerOfAttorney = append(a.PowerOfAttorney, newValue)
return newValue
}
func (a *AccountParties10) AddLegalGuardian() *InvestmentAccountOwnershipInformation10 {
newValue := new(InvestmentAccountOwnershipInformation10)
a.LegalGuardian = append(a.LegalGuardian, newValue)
return newValue
}
func (a *AccountParties10) AddSuccessorOnDeath() *InvestmentAccountOwnershipInformation10 {
newValue := new(InvestmentAccountOwnershipInformation10)
a.SuccessorOnDeath = append(a.SuccessorOnDeath, newValue)
return newValue
}
func (a *AccountParties10) AddAdministrator() *InvestmentAccountOwnershipInformation10 {
newValue := new(InvestmentAccountOwnershipInformation10)
a.Administrator = append(a.Administrator, newValue)
return newValue
}
func (a *AccountParties10) AddOtherParty() *ExtendedParty7 {
newValue := new(ExtendedParty7)
a.OtherParty = append(a.OtherParty, newValue)
return newValue
}
func (a *AccountParties10) AddGranter() *InvestmentAccountOwnershipInformation10 {
newValue := new(InvestmentAccountOwnershipInformation10)
a.Granter = append(a.Granter, newValue)
return newValue
}
func (a *AccountParties10) AddSettlor() *InvestmentAccountOwnershipInformation10 {
newValue := new(InvestmentAccountOwnershipInformation10)
a.Settlor = append(a.Settlor, newValue)
return newValue
}