-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathATMService23.go
40 lines (29 loc) · 1.27 KB
/
ATMService23.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
37
38
39
40
package iso20022
// Inquiry service provided by the ATM inside the session.
type ATMService23 struct {
// Unique identification of the customer session in which the transfer is performed.
ServiceReference *Max35Text `xml:"SvcRef,omitempty"`
// Codification of the type of service for the ATM.
ATMServiceCode *Max35Text `xml:"ATMSvcCd,omitempty"`
// Codification of the type of service for the host.
HostServiceCode *Max35Text `xml:"HstSvcCd,omitempty"`
// Describes the type of fund transfer selected by the customer or the ATM.
ServiceType *ATMServiceType9Code `xml:"SvcTp"`
// Identification of the variant of the service.
ServiceVariantIdentification []*Max35Text `xml:"SvcVarntId,omitempty"`
}
func (a *ATMService23) SetServiceReference(value string) {
a.ServiceReference = (*Max35Text)(&value)
}
func (a *ATMService23) SetATMServiceCode(value string) {
a.ATMServiceCode = (*Max35Text)(&value)
}
func (a *ATMService23) SetHostServiceCode(value string) {
a.HostServiceCode = (*Max35Text)(&value)
}
func (a *ATMService23) SetServiceType(value string) {
a.ServiceType = (*ATMServiceType9Code)(&value)
}
func (a *ATMService23) AddServiceVariantIdentification(value string) {
a.ServiceVariantIdentification = append(a.ServiceVariantIdentification, (*Max35Text)(&value))
}