This commit is contained in:
Jorijn van der Graaf 2026-10-31 20:50:57 +01:00
commit 367c19386c
17 changed files with 561 additions and 166 deletions

View file

@ -27,10 +27,7 @@ namespace Nostro {
BunqConnector* connector;
BunqAccount(std::string&& name, std::string&& bic, std::string&& iban, Currency currency, std::int64_t balance, std::uint32_t id, BunqConnector* connector);
void Send(std::string_view iban, std::string_view name, std::int64_t amount, Currency currency) const;
void Send(std::string_view iban, std::string_view name, std::int64_t amount, Currency currency, std::string_view description) const;
private:
void SendPayment(std::string iban) const;
};
export struct BunqConnector {
@ -44,6 +41,7 @@ namespace Nostro {
void RefreshSession();
void RefreshAccounts();
void GetNewTransactions();
bool TestConnector();
static constexpr std::string connectorId = "bunq";