-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathAcquirerProtocolParameters8.go
35 lines (26 loc) · 1.19 KB
/
AcquirerProtocolParameters8.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
package iso20022
// Acceptor parameters dedicated to the acquirer protocol.
type AcquirerProtocolParameters8 struct {
// Mode for the financial capture of the transaction by the acquirer.
FinancialCapture *FinancialCapture1Code `xml:"FinCaptr"`
// Configuration of the batch transfers.
BatchTransfer *ExchangeConfiguration6 `xml:"BtchTrf,omitempty"`
// Configuration parameters of completion exchanges.
CompletionExchange *ExchangeConfiguration7 `xml:"CmpltnXchg,omitempty"`
// Configuration of the cancellation exchanges.
CancellationExchange *CancellationProcess1Code `xml:"CxlXchg,omitempty"`
}
func (a *AcquirerProtocolParameters8) SetFinancialCapture(value string) {
a.FinancialCapture = (*FinancialCapture1Code)(&value)
}
func (a *AcquirerProtocolParameters8) AddBatchTransfer() *ExchangeConfiguration6 {
a.BatchTransfer = new(ExchangeConfiguration6)
return a.BatchTransfer
}
func (a *AcquirerProtocolParameters8) AddCompletionExchange() *ExchangeConfiguration7 {
a.CompletionExchange = new(ExchangeConfiguration7)
return a.CompletionExchange
}
func (a *AcquirerProtocolParameters8) SetCancellationExchange(value string) {
a.CancellationExchange = (*CancellationProcess1Code)(&value)
}