Interface IScraperCsvConverter

Namespace
Subsembly.Scraper
Assembly
Subsembly.Scraper.dll

Interface that must be implemented by account statement CSV to CAMT converters.

public interface IScraperCsvConverter

Properties

FileNameSuffix

The preferred file name suffix of this converter.

string FileNameSuffix { get; }

Property Value

string

Name

User friendly name of this converter.

string Name { get; }

Property Value

string

Methods

Convert(out SepaStatement, byte[], int, int)

Converts a raw, binary CSV data blob that contains account statement data to a CAMT statement for further processing.

ScraperResult Convert(out SepaStatement aStmt, byte[] vbCsvData, int nOffset, int nLength)

Parameters

aStmt SepaStatement

The converted CAMT statement for further processing. The output is null if the conversion was not successful. If the method returns with success, then the output must reference a new SepaStatement.

vbCsvData byte[]

Raw, binary CSV data blob that contains the account statement data. Must not be null, but may be empty.

nOffset int

Start position in byte array where the CSV data starts.

nLength int

Length of CSV data in side of byte array.

Returns

ScraperResult