-
Notifications
You must be signed in to change notification settings - Fork 14
/
ATMAccountStatement2.go
54 lines (39 loc) · 1.44 KB
/
ATMAccountStatement2.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
51
52
53
54
package iso20022
// Statement information of an account.
type ATMAccountStatement2 struct {
// Date of the transaction.
TransactionDate *ISODate `xml:"TxDt,omitempty"`
// Value date of the transaction.
ValueDate *ISODate `xml:"ValDt,omitempty"`
// Short text to display or print for the statement.
ShortText *Max70Text `xml:"ShrtTxt,omitempty"`
// True if credit transaction.
CreditTransaction *TrueFalseIndicator `xml:"CdtTx,omitempty"`
// Amount of the transaction.
Amount *ImpliedCurrencyAndAmount `xml:"Amt"`
// Currency of the amount.
Currency *ActiveCurrencyCode `xml:"Ccy,omitempty"`
// Alternative text of the statement to print or display.
LongText *Max256Text `xml:"LngTxt,omitempty"`
}
func (a *ATMAccountStatement2) SetTransactionDate(value string) {
a.TransactionDate = (*ISODate)(&value)
}
func (a *ATMAccountStatement2) SetValueDate(value string) {
a.ValueDate = (*ISODate)(&value)
}
func (a *ATMAccountStatement2) SetShortText(value string) {
a.ShortText = (*Max70Text)(&value)
}
func (a *ATMAccountStatement2) SetCreditTransaction(value string) {
a.CreditTransaction = (*TrueFalseIndicator)(&value)
}
func (a *ATMAccountStatement2) SetAmount(value, currency string) {
a.Amount = NewImpliedCurrencyAndAmount(value, currency)
}
func (a *ATMAccountStatement2) SetCurrency(value string) {
a.Currency = (*ActiveCurrencyCode)(&value)
}
func (a *ATMAccountStatement2) SetLongText(value string) {
a.LongText = (*Max256Text)(&value)
}