-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathAccountAndBalance9.go
36 lines (27 loc) · 1.15 KB
/
AccountAndBalance9.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
package iso20022
// Provides account and balance information.
type AccountAndBalance9 struct {
// Account where financial instruments are maintained.
SafekeepingAccount *Max35Text `xml:"SfkpgAcct"`
// Party that legally owns the account.
AccountOwner *PartyIdentification36Choice `xml:"AcctOwnr,omitempty"`
// Location where the financial instruments are/will be safekept.
SafekeepingPlace *SafekeepingPlaceFormat2Choice `xml:"SfkpgPlc,omitempty"`
// Provides information about balance related to a corporate action.
Balance *CorporateActionBalanceDetails1 `xml:"Bal,omitempty"`
}
func (a *AccountAndBalance9) SetSafekeepingAccount(value string) {
a.SafekeepingAccount = (*Max35Text)(&value)
}
func (a *AccountAndBalance9) AddAccountOwner() *PartyIdentification36Choice {
a.AccountOwner = new(PartyIdentification36Choice)
return a.AccountOwner
}
func (a *AccountAndBalance9) AddSafekeepingPlace() *SafekeepingPlaceFormat2Choice {
a.SafekeepingPlace = new(SafekeepingPlaceFormat2Choice)
return a.SafekeepingPlace
}
func (a *AccountAndBalance9) AddBalance() *CorporateActionBalanceDetails1 {
a.Balance = new(CorporateActionBalanceDetails1)
return a.Balance
}