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