2023-11-16 17:54:35 +00:00
|
|
|
import type { ICsvDescriptor } from '../interfaces/csvdescriptor.js';
|
2023-11-16 01:22:01 +00:00
|
|
|
import { type IMonetaryTransaction } from '../interfaces/transaction.js';
|
|
|
|
|
|
|
|
export abstract class AcCsvParser<TOriginalTrnasction> {
|
2019-07-07 20:57:12 +00:00
|
|
|
public abstract paymentProviderName: string;
|
2023-11-16 17:56:49 +00:00
|
|
|
public abstract description: string;
|
2023-11-16 17:54:35 +00:00
|
|
|
public abstract addCsvDecriptor(csvDescriptorArg: ICsvDescriptor): void;
|
2023-11-16 01:22:01 +00:00
|
|
|
public abstract getTransactions(): Promise<IMonetaryTransaction[]>;
|
2019-07-07 16:10:57 +00:00
|
|
|
}
|