-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathATMCustomerProfile3.go
More file actions
35 lines (26 loc) · 1.06 KB
/
Copy pathATMCustomerProfile3.go
File metadata and controls
35 lines (26 loc) · 1.06 KB
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 ATMCustomerProfile3 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 []*ATMService7 `xml:"AllwdSvcs,omitempty"`
}
func (a *ATMCustomerProfile3) SetProfileReference(value string) {
a.ProfileReference = (*Max35Text)(&value)
}
func (a *ATMCustomerProfile3) SetCustomerIdentification(value string) {
a.CustomerIdentification = (*Max35Text)(&value)
}
func (a *ATMCustomerProfile3) SetProfileDescription(value string) {
a.ProfileDescription = (*Max70Text)(&value)
}
func (a *ATMCustomerProfile3) AddAllowedServices() *ATMService7 {
newValue := new(ATMService7)
a.AllowedServices = append(a.AllowedServices, newValue)
return newValue
}