1
0
forked from BRT/arc
arc/android/rshb/PayByPhoneScript.h
2026-02-22 20:48:16 +07:00

38 lines
677 B
C++

#pragma once
#include "CommonScript.h"
namespace Rshb {
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;
QString m_error;
void makePayment(
const QString &deviceId,
const QString &pinCode,
int width,
int height
);
};
} // namespace Rshb