-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathATMReconciliationAdvice2.go
38 lines (29 loc) · 1.07 KB
/
ATMReconciliationAdvice2.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
package iso20022
// Information related to the reconciliation of an ATM.
type ATMReconciliationAdvice2 struct {
// Environment of the ATM.
Environment *ATMEnvironment10 `xml:"Envt"`
// Command result for reinitialisation of the transaction counters.
CommandResult []*ATMCommand8 `xml:"CmdRslt,omitempty"`
// Party which has requested the reconciliation.
CommandContext *ATMCommand9 `xml:"CmdCntxt,omitempty"`
// Information about the reconciliation request.
Transaction *ATMTransaction25 `xml:"Tx"`
}
func (a *ATMReconciliationAdvice2) AddEnvironment() *ATMEnvironment10 {
a.Environment = new(ATMEnvironment10)
return a.Environment
}
func (a *ATMReconciliationAdvice2) AddCommandResult() *ATMCommand8 {
newValue := new(ATMCommand8)
a.CommandResult = append(a.CommandResult, newValue)
return newValue
}
func (a *ATMReconciliationAdvice2) AddCommandContext() *ATMCommand9 {
a.CommandContext = new(ATMCommand9)
return a.CommandContext
}
func (a *ATMReconciliationAdvice2) AddTransaction() *ATMTransaction25 {
a.Transaction = new(ATMTransaction25)
return a.Transaction
}