Export: Refactor interfaces and classes

This commit is contained in:
lorenz.stechauner committed 2023-09-07 00:44:28 +02:00
1 parent be734b880f
commit f9d95a48f2
8 files changed
+163 -36

No files matched your search

+6 -6
View File
@@ -1,14 +1,14 @@
using Elwig.Models;
using Elwig.Helpers.Billing;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Elwig.Helpers.Export {
public class Elba : IBankingProvider {
public class Elba : Csv<Transaction>, IBankingExporter {
public string FileExtension => "elba";
public static new string FileExtension => "elba";
public Task Export(string filename, int avnr, IEnumerable<Member> members) {
public Elba(string filename) : base(filename) { }
public override string FormatRow(Transaction row) {
throw new NotImplementedException();
}
}