Export: Refactor interfaces and classes

This commit is contained in:
2023-09-07 00:44:28 +02:00
parent be734b880f
commit f9d95a48f2
8 changed files with 163 additions and 36 deletions

View File

@ -1,14 +1,26 @@
using Elwig.Models;
using Elwig.Helpers.Billing;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Elwig.Helpers.Export {
public class Ebics : IBankingProvider {
public class Ebics : IBankingExporter {
public string FileExtension => "xml";
public static string FileExtension => "xml";
public Task Export(string filename, int avnr, IEnumerable<Member> members) {
public void Dispose() {
throw new NotImplementedException();
}
public ValueTask DisposeAsync() {
throw new NotImplementedException();
}
public void Export(IEnumerable<Transaction> data) {
throw new NotImplementedException();
}
public Task ExportAsync(IEnumerable<Transaction> data) {
throw new NotImplementedException();
}
}