-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathATMCustomerProfile5.go
35 lines (26 loc) · 1.06 KB
/
ATMCustomerProfile5.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
package iso20022
// Profile of the customer with the allowed services and restrictions.
type ATMCustomerProfile5 struct {
// Reference of the customer profile.
ProfileReference *Max35Text `xml:"PrflRef,omitempty"`
// Identification of the customer for the bank.
CustomerIdentification *Max35Text `xml:"CstmrId,omitempty"`
// Description of the customer's profile in plaintext.
ProfileDescription *Max70Text `xml:"PrflDesc,omitempty"`
// Services allowed for the customer's profile.
AllowedServices []*ATMService17 `xml:"AllwdSvcs,omitempty"`
}
func (a *ATMCustomerProfile5) SetProfileReference(value string) {
a.ProfileReference = (*Max35Text)(&value)
}
func (a *ATMCustomerProfile5) SetCustomerIdentification(value string) {
a.CustomerIdentification = (*Max35Text)(&value)
}
func (a *ATMCustomerProfile5) SetProfileDescription(value string) {
a.ProfileDescription = (*Max70Text)(&value)
}
func (a *ATMCustomerProfile5) AddAllowedServices() *ATMService17 {
newValue := new(ATMService17)
a.AllowedServices = append(a.AllowedServices, newValue)
return newValue
}