Documentation ¶
Index ¶
Constants ¶
View Source
const (
IBANLookupURL = "https://openiban.com/validate/%s?getBIC=true"
)
Variables ¶
This section is empty.
Functions ¶
func BuildTransactions ¶
func BuildTransactions(investors []Investor) (map[string]*Transaction, float64)
func PanicOnError ¶
func PanicOnError(err error)
func ParseConfigFile ¶ added in v0.1.1
func ParseConfigFile(file string)
Types ¶
type CamtDocument ¶
type CamtDocument struct {
// contains filtered or unexported fields
}
func NewCamtDocument ¶
func NewCamtDocument() *CamtDocument
func (*CamtDocument) AddHeaders ¶
func (c *CamtDocument) AddHeaders(totalAmount float64, nOfTxs int)
func (*CamtDocument) AddTransactionData ¶
func (c *CamtDocument) AddTransactionData(transactionData map[string]*Transaction)
func (*CamtDocument) PrintDocument ¶
func (c *CamtDocument) PrintDocument()
type IBAN ¶
type IBAN struct { Iban string `json:"iban"` BankData bankData `json:"bankData"` CheckResults interface{} Valid interface{} Messages interface{} }
type Investor ¶
type Investor struct {
// contains filtered or unexported fields
}
func LoadInvestors ¶
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) AddToAmount ¶
func (t *Transaction) AddToAmount(amount float64)
Click to show internal directories.
Click to hide internal directories.