Implemented `GetLastTransactionsScript` for automated retrieval of transactions, handling home screen navigation, "Ver más" button detection, and transaction list parsing with database storage. Introduced `PayByCardScript` for automated card payments, covering recipient selection, amount input, payment confirmation, and transaction logging. Added XML assets and updates to support these workflows.
28 lines
475 B
C++
28 lines
475 B
C++
#pragma once
|
|
#include "CommonScript.h"
|
|
|
|
namespace Black {
|
|
|
|
class GetLastTransactionsScript final : public CommonScript {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit GetLastTransactionsScript(
|
|
QString deviceId,
|
|
QString appCode,
|
|
QObject *parent = nullptr
|
|
);
|
|
|
|
~GetLastTransactionsScript() override;
|
|
|
|
protected:
|
|
void doStart() override;
|
|
|
|
private:
|
|
const QString m_deviceId;
|
|
const QString m_appCode;
|
|
QString m_error;
|
|
};
|
|
|
|
} // namespace Black
|