2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00
Files
kotatogram-desktop/Telegram/SourceFiles/payments/stripe/stripe_form_encodable.h
2021-04-06 18:41:15 +04:00

25 lines
585 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include <QtCore/QString>
#include <map>
namespace Stripe {
class FormEncodable {
public:
[[nodiscard]] virtual QString RootObjectName() const = 0;
// TODO incomplete, not used: nested complex structures not supported.
[[nodiscard]] virtual std::map<QString, QString> formFieldValues() const
= 0;
};
} // namespace Stripe