Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankData ¶
type BankData struct { AccountNumber string BankNumber string Transactions []Transaction }
swiftTransactions creates a MT940 statement from given transactions accountNumber and bankNumber are required for the accountLine (:25:)
type Transaction ¶
type Transaction interface { Converter Saldo() *money.Money Amount() *money.Money Date() time.Time }
Transaction is the interface for each transaction line, it should convert to a valid mt940 string with lines 61 and 86 the methods saldo, amount and date are used for creating the start and end saldo lines
Click to show internal directories.
Click to hide internal directories.