Nostro/interfaces/Nostro-Transaction.cppm
2026-10-31 20:50:57 +01:00

23 lines
669 B
C++

//SPDX-License-Identifier: LGPL-3.0-only
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
export module Nostro:Transaction;
import std;
import :Currency;
namespace Nostro {
export struct Transaction {
std::string name;
std::string bic;
std::string iban;
std::string description;
Currency currency;
std::int64_t amount;
std::chrono::system_clock::time_point timePoint;
Transaction();
Transaction(std::string&& name, std::string&& bic, std::string&& iban, std::string&& description, Currency currency, std::int64_t amount, std::chrono::system_clock::time_point timePoint);
};
}