-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathATMCustomer6.go
29 lines (22 loc) · 990 Bytes
/
ATMCustomer6.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 ATMCustomer6 struct {
// Profile of the customer selected to perform the service.
Profile *ATMCustomerProfile4 `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 *ATMCustomer6) AddProfile() *ATMCustomerProfile4 {
a.Profile = new(ATMCustomerProfile4)
return a.Profile
}
func (a *ATMCustomer6) SetSelectedLanguage(value string) {
a.SelectedLanguage = (*LanguageCode)(&value)
}
func (a *ATMCustomer6) AddAuthenticationResult() *TransactionVerificationResult5 {
newValue := new(TransactionVerificationResult5)
a.AuthenticationResult = append(a.AuthenticationResult, newValue)
return newValue
}