FOSSredder 0.5.0
Loading...
Searching...
No Matches
DefaultTransactionParser.h
Go to the documentation of this file.
1
5
6#pragma once
7
10
11#include <string>
12
15
20 std::string name;
21 std::string bookingDate;
22 std::string valuta;
23 double amount = 0.0;
24 std::string description;
25 std::string metadata;
26 int status = 0;
27
35 std::vector<std::string>* debugOut = nullptr);
36};
37
38}
Declares helpers for parsing imported transaction amount strings.
Declares the OCR transaction parser model types.
Represents the parsed fields of a single transaction.
static DefaultTransactionParser parseTransaction(const TransactionBlock &block, std::vector< std::string > *debugOut=nullptr)
Parses a transaction block into a structured transaction model.
Groups the main row and detail rows of one parsed transaction block.