-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathATMCommandParameters2Choice.go
50 lines (37 loc) · 1.81 KB
/
ATMCommandParameters2Choice.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
41
42
43
44
45
46
47
48
49
50
package iso20022
// Specific parameters attached to an ATM command.
type ATMCommandParameters2Choice struct {
// Required status of the ATM, parameters of the status update command.
ATMRequiredGlobalStatus *ATMStatus1Code `xml:"ATMReqrdGblSts"`
// Message to send for the send message command.
ExpectedMessageFunction *MessageFunction8Code `xml:"XpctdMsgFctn"`
// Parameters to be used by the configuration update command.
RequiredConfigurationParameter *ATMConfigurationParameter1 `xml:"ReqrdCfgtnParam"`
// Parameters to be used by the security scheme update command.
RequiredSecurityScheme *ATMSecurityScheme2Code `xml:"ReqrdSctySchme"`
// Parameters to be used to update the configuration or the status security device.
SecurityDevice *ATMCommandParameters1 `xml:"SctyDvc"`
// Parameters to be used by the various cryptographic key commands.
Key *ATMConfigurationParameter2 `xml:"Key"`
}
func (a *ATMCommandParameters2Choice) SetATMRequiredGlobalStatus(value string) {
a.ATMRequiredGlobalStatus = (*ATMStatus1Code)(&value)
}
func (a *ATMCommandParameters2Choice) SetExpectedMessageFunction(value string) {
a.ExpectedMessageFunction = (*MessageFunction8Code)(&value)
}
func (a *ATMCommandParameters2Choice) AddRequiredConfigurationParameter() *ATMConfigurationParameter1 {
a.RequiredConfigurationParameter = new(ATMConfigurationParameter1)
return a.RequiredConfigurationParameter
}
func (a *ATMCommandParameters2Choice) SetRequiredSecurityScheme(value string) {
a.RequiredSecurityScheme = (*ATMSecurityScheme2Code)(&value)
}
func (a *ATMCommandParameters2Choice) AddSecurityDevice() *ATMCommandParameters1 {
a.SecurityDevice = new(ATMCommandParameters1)
return a.SecurityDevice
}
func (a *ATMCommandParameters2Choice) AddKey() *ATMConfigurationParameter2 {
a.Key = new(ATMConfigurationParameter2)
return a.Key
}