Refactored code to improve account and transaction data parsing and management, introducing support for additional fields like card numbers and account statuses. Added new utilities for database connections, device-specific screenshot handling, and XML parsing for enriched account and transaction details.
28 lines
486 B
C++
28 lines
486 B
C++
#pragma once
|
|
|
|
#include "CommonScript.h"
|
|
|
|
class PayByPhoneScript final : public CommonScript {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PayByPhoneScript(
|
|
AccountInfo account,
|
|
QString phone,
|
|
QString bankName,
|
|
double amount,
|
|
QObject *parent = nullptr
|
|
);
|
|
|
|
~PayByPhoneScript() override;
|
|
|
|
protected:
|
|
void doStart() override;
|
|
|
|
private:
|
|
const AccountInfo m_account;
|
|
const QString m_phone;
|
|
const QString m_bankName;
|
|
const double m_amount;
|
|
};
|