#pragma once #include "CommonScript.h" namespace Dushanbe { class PayByPhoneScript final : public CommonScript { Q_OBJECT public: PayByPhoneScript( MaterialInfo account, QString phone, double amount, QObject *parent = nullptr ); ~PayByPhoneScript() override; protected: void doStart() override; private: const MaterialInfo m_account; const QString m_phone; const double m_amount; QString m_error; void makePayment( const QString &deviceId, const QString &pinCode, int width, int height ); }; } // namespace Dushanbe