This update introduces support for Ziraat Bank, including scripts for retrieving transaction history, parsing account information, and performing IBAN payments. Enhancements include improved screen parsing logic, additional transaction types, and better handling of amounts and IBAN-specific operations.
31 lines
589 B
C++
31 lines
589 B
C++
#pragma once
|
|
#include "CommonZiraatScript.h"
|
|
#include "db/DeviceInfo.h"
|
|
|
|
class PayByIbanScript final : public CommonZiraatScript {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
~PayByIbanScript() override;
|
|
|
|
PayByIbanScript(
|
|
AccountInfo account,
|
|
QString iban,
|
|
QString fullName,
|
|
double amount,
|
|
QObject *parent = nullptr
|
|
);
|
|
|
|
protected:
|
|
void doStart() override;
|
|
|
|
private:
|
|
const AccountInfo m_account;
|
|
const QString m_iban;
|
|
const QString m_fullName;
|
|
const double m_amount;
|
|
QString m_error;
|
|
|
|
void makePayment(const DeviceInfo &device);
|
|
};
|