-
Notifications
You must be signed in to change notification settings - Fork 14
/
ATMCommandParameters1.go
27 lines (20 loc) · 909 Bytes
/
ATMCommandParameters1.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
package iso20022
// Parameters to be used to update the configuration or the status security device.
type ATMCommandParameters1 struct {
// Serial number of the device.
SerialNumber *Max35Text `xml:"SrlNb,omitempty"`
// Update of the security configuration to apply on the security module of the ATM.
RequiredConfiguration *ATMSecurityConfiguration1 `xml:"ReqrdCfgtn,omitempty"`
// New status to apply on the security module of the ATM.
RequiredStatus *ATMStatus2Code `xml:"ReqrdSts,omitempty"`
}
func (a *ATMCommandParameters1) SetSerialNumber(value string) {
a.SerialNumber = (*Max35Text)(&value)
}
func (a *ATMCommandParameters1) AddRequiredConfiguration() *ATMSecurityConfiguration1 {
a.RequiredConfiguration = new(ATMSecurityConfiguration1)
return a.RequiredConfiguration
}
func (a *ATMCommandParameters1) SetRequiredStatus(value string) {
a.RequiredStatus = (*ATMStatus2Code)(&value)
}