-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathAccountIdentification7.go
36 lines (27 loc) · 1.19 KB
/
AccountIdentification7.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 identification information.
type AccountIdentification7 struct {
// Account where financial instruments are maintained.
SafekeepingAccount *Max35Text `xml:"SfkpgAcct"`
// Party that legally owns the account.
AccountOwner *PartyIdentification13Choice `xml:"AcctOwnr,omitempty"`
// Location where the financial instruments are/will be safekept.
SafekeepingPlace *SafekeepingPlaceFormat2Choice `xml:"SfkpgPlc,omitempty"`
// Balance to which the payment applies (less or equal to the total eligible balance).
ConfirmedBalance *BalanceFormat1Choice `xml:"ConfdBal"`
}
func (a *AccountIdentification7) SetSafekeepingAccount(value string) {
a.SafekeepingAccount = (*Max35Text)(&value)
}
func (a *AccountIdentification7) AddAccountOwner() *PartyIdentification13Choice {
a.AccountOwner = new(PartyIdentification13Choice)
return a.AccountOwner
}
func (a *AccountIdentification7) AddSafekeepingPlace() *SafekeepingPlaceFormat2Choice {
a.SafekeepingPlace = new(SafekeepingPlaceFormat2Choice)
return a.SafekeepingPlace
}
func (a *AccountIdentification7) AddConfirmedBalance() *BalanceFormat1Choice {
a.ConfirmedBalance = new(BalanceFormat1Choice)
return a.ConfirmedBalance
}