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