-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathATMCommand5.go
48 lines (35 loc) · 1.5 KB
/
ATMCommand5.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
package iso20022
// Command result for reinitialization of the transaction counters.
type ATMCommand5 struct {
// Type of command to be performed by the ATM.
Type *ATMCommand3Code `xml:"Tp"`
// Date time on which the command has been requested to be performed.
RequiredDateTime *ISODateTime `xml:"ReqrdDtTm,omitempty"`
// Date time on which the command has been performed.
ProcessedDateTime *ISODateTime `xml:"PrcdDtTm"`
// Identification of the entity issuing the command.
CommandIdentification *ATMCommandIdentification1 `xml:"CmdId,omitempty"`
// Final result of the processed command at the ATM.
Result *TerminalManagementActionResult2Code `xml:"Rslt"`
// Additional information on the failure to be logged for further examination.
AdditionalErrorInformation *Max140Text `xml:"AddtlErrInf,omitempty"`
}
func (a *ATMCommand5) SetType(value string) {
a.Type = (*ATMCommand3Code)(&value)
}
func (a *ATMCommand5) SetRequiredDateTime(value string) {
a.RequiredDateTime = (*ISODateTime)(&value)
}
func (a *ATMCommand5) SetProcessedDateTime(value string) {
a.ProcessedDateTime = (*ISODateTime)(&value)
}
func (a *ATMCommand5) AddCommandIdentification() *ATMCommandIdentification1 {
a.CommandIdentification = new(ATMCommandIdentification1)
return a.CommandIdentification
}
func (a *ATMCommand5) SetResult(value string) {
a.Result = (*TerminalManagementActionResult2Code)(&value)
}
func (a *ATMCommand5) SetAdditionalErrorInformation(value string) {
a.AdditionalErrorInformation = (*Max140Text)(&value)
}