using Elwig.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Elwig.Helpers.Export {
///
/// Interface for exporting banking data
///
public interface IBankingProvider {
///
/// The default file extension of the exported files to be used (whithout a preceding ".")
///
string FileExtension { get; }
///
/// Export the member payment data of the given payment variant to the given file.
/// (The amount of the last payed variant is deducted from the calculated amount.)
///
/// The file to export the data to
/// The number of the payment variant to export
/// The members whose data to include in the export
Task Export(string filename, int avnr, IEnumerable members);
}
}