-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathATMTransaction12.go
44 lines (33 loc) · 1.37 KB
/
ATMTransaction12.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
package iso20022
// Information about the reconciliation response.
type ATMTransaction12 struct {
// Type of logical or physical operation on the ATM for which the counters are computed.
TypeOfOperation *ATMOperation1Code `xml:"TpOfOpr,omitempty"`
// Identification of the reconciliation transaction.
TransactionIdentification *TransactionIdentifier1 `xml:"TxId"`
// Identification of the reconciliation period assigned by the ATM.
ReconciliationIdentification *Max35Text `xml:"RcncltnId"`
// Result of the reconciliation.
TransactionResponse *ResponseType3 `xml:"TxRspn"`
// Maintenance command to perform on the ATM.
Command []*ATMCommand1 `xml:"Cmd,omitempty"`
}
func (a *ATMTransaction12) SetTypeOfOperation(value string) {
a.TypeOfOperation = (*ATMOperation1Code)(&value)
}
func (a *ATMTransaction12) AddTransactionIdentification() *TransactionIdentifier1 {
a.TransactionIdentification = new(TransactionIdentifier1)
return a.TransactionIdentification
}
func (a *ATMTransaction12) SetReconciliationIdentification(value string) {
a.ReconciliationIdentification = (*Max35Text)(&value)
}
func (a *ATMTransaction12) AddTransactionResponse() *ResponseType3 {
a.TransactionResponse = new(ResponseType3)
return a.TransactionResponse
}
func (a *ATMTransaction12) AddCommand() *ATMCommand1 {
newValue := new(ATMCommand1)
a.Command = append(a.Command, newValue)
return newValue
}