-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathAccountParties11.go
100 lines (77 loc) · 4.05 KB
/
AccountParties11.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
95
96
97
98
99
100
package iso20022
// Information about a party's account.
type AccountParties11 struct {
// Specifies the type of modification to be applied on a set of information.
ModificationScopeIndication *DataModification1Code `xml:"ModScpIndctn"`
// Main party associated with the account.
PrincipalAccountParty *AccountParties6Choice `xml:"PrncplAcctPty,omitempty"`
// Entity that is not the primary owner when the ownership of the investment account is split among several owners.
SecondaryOwner []*InvestmentAccountOwnershipInformation11 `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 []*InvestmentAccountOwnershipInformation11 `xml:"Bnfcry,omitempty"`
// Entity that was given the authority by another entity to act on its behalf.
PowerOfAttorney []*InvestmentAccountOwnershipInformation11 `xml:"PwrOfAttny,omitempty"`
// Entity that has been appointed by a legal authority to act on behalf of a person judged to be incapacitated.
LegalGuardian []*InvestmentAccountOwnershipInformation11 `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 *InvestmentAccountOwnershipInformation11 `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 []*InvestmentAccountOwnershipInformation11 `xml:"Admstr,omitempty"`
// An other type of party.
OtherParty []*ExtendedParty8 `xml:"OthrPty,omitempty"`
// Granter role in the hedge funds industry.
Granter []*InvestmentAccountOwnershipInformation11 `xml:"Grntr,omitempty"`
// Entity that creates a trust or contributes assets to the trust.
Settlor []*InvestmentAccountOwnershipInformation11 `xml:"Sttlr,omitempty"`
}
func (a *AccountParties11) SetModificationScopeIndication(value string) {
a.ModificationScopeIndication = (*DataModification1Code)(&value)
}
func (a *AccountParties11) AddPrincipalAccountParty() *AccountParties6Choice {
a.PrincipalAccountParty = new(AccountParties6Choice)
return a.PrincipalAccountParty
}
func (a *AccountParties11) AddSecondaryOwner() *InvestmentAccountOwnershipInformation11 {
newValue := new(InvestmentAccountOwnershipInformation11)
a.SecondaryOwner = append(a.SecondaryOwner, newValue)
return newValue
}
func (a *AccountParties11) AddBeneficiary() *InvestmentAccountOwnershipInformation11 {
newValue := new(InvestmentAccountOwnershipInformation11)
a.Beneficiary = append(a.Beneficiary, newValue)
return newValue
}
func (a *AccountParties11) AddPowerOfAttorney() *InvestmentAccountOwnershipInformation11 {
newValue := new(InvestmentAccountOwnershipInformation11)
a.PowerOfAttorney = append(a.PowerOfAttorney, newValue)
return newValue
}
func (a *AccountParties11) AddLegalGuardian() *InvestmentAccountOwnershipInformation11 {
newValue := new(InvestmentAccountOwnershipInformation11)
a.LegalGuardian = append(a.LegalGuardian, newValue)
return newValue
}
func (a *AccountParties11) AddSuccessorOnDeath() *InvestmentAccountOwnershipInformation11 {
a.SuccessorOnDeath = new(InvestmentAccountOwnershipInformation11)
return a.SuccessorOnDeath
}
func (a *AccountParties11) AddAdministrator() *InvestmentAccountOwnershipInformation11 {
newValue := new(InvestmentAccountOwnershipInformation11)
a.Administrator = append(a.Administrator, newValue)
return newValue
}
func (a *AccountParties11) AddOtherParty() *ExtendedParty8 {
newValue := new(ExtendedParty8)
a.OtherParty = append(a.OtherParty, newValue)
return newValue
}
func (a *AccountParties11) AddGranter() *InvestmentAccountOwnershipInformation11 {
newValue := new(InvestmentAccountOwnershipInformation11)
a.Granter = append(a.Granter, newValue)
return newValue
}
func (a *AccountParties11) AddSettlor() *InvestmentAccountOwnershipInformation11 {
newValue := new(InvestmentAccountOwnershipInformation11)
a.Settlor = append(a.Settlor, newValue)
return newValue
}