1
0
forked from BRT/arc
arc/android/ziraat/PayByIbanScript.h
slava ab16b8962f Add ScreenXmlZiraatParser for parsing Ziraat XML data
Introduce a new class, `ScreenXmlZiraatParser`, to handle Ziraat-related XML parsing. This includes functionality to extract transaction details, banners/dialogs recognition, and history parsing for today and yesterday. Regular expressions are utilized for precise data extraction.
2025-06-16 20:56:27 +07:00

35 lines
648 B
C++

#pragma once
#include "CommonZiraatScript.h"
class PayByIbanScript final : public CommonZiraatScript {
Q_OBJECT
public:
~PayByIbanScript() override;
PayByIbanScript(
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
);
};