-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathATMCustomer3.go
29 lines (22 loc) · 993 Bytes
/
ATMCustomer3.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
package iso20022
// Customer involved in a withdrawal transaction.
type ATMCustomer3 struct {
// Profile of the customer selected to perform the withdrawal.
Profile *ATMCustomerProfile1 `xml:"Prfl,omitempty"`
// Language selected by the customer at the ATM for the customer session. Reference ISO 639-1 (alpha-2) et ISO 639-2 (alpha-3).
SelectedLanguage *LanguageCode `xml:"SelctdLang,omitempty"`
// Result of the customer authentication for this transaction.
AuthenticationResult []*TransactionVerificationResult5 `xml:"AuthntcnRslt"`
}
func (a *ATMCustomer3) AddProfile() *ATMCustomerProfile1 {
a.Profile = new(ATMCustomerProfile1)
return a.Profile
}
func (a *ATMCustomer3) SetSelectedLanguage(value string) {
a.SelectedLanguage = (*LanguageCode)(&value)
}
func (a *ATMCustomer3) AddAuthenticationResult() *TransactionVerificationResult5 {
newValue := new(TransactionVerificationResult5)
a.AuthenticationResult = append(a.AuthenticationResult, newValue)
return newValue
}