Update DeviceControllerInterface 1.0.3

Signal cashPaymentFinished()
This commit is contained in:
Siegfried Siegert 2023-12-04 10:31:52 +01:00
parent 60c4d5896a
commit 7affcb0313
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -125,6 +125,21 @@ signals:
const QString & errorCode,
const QString & errorDescription);
/**
* emitted if cashPayment has been finished, e.g. in result to task cashCollect():
* -> ticket should be printed sucessfully
* -> coins in excrow or changer are given back to user
* Provides data for logging, especially changed value
*/
void cashPaymentFinished(nsDeviceControllerInterface::RESULT_STATE resultState,
const QString & newCashValue, // total inserted amount amount
const QString & coinValue, // inserted amount, paid with coins
const QString & noteValue, // inserted amount, paid with notes
const QString & changeValue, // amount changed by changer/escrow
const QString & errorCode,
const QString & errorDescription);
/**
* emitted e.g. if service door is opened
@ -167,7 +182,7 @@ signals:
Q_DECLARE_INTERFACE(DeviceControllerInterface,
"eu.atb.ptu.plugin.DeviceControllerInterface/1.0.2")
"eu.atb.ptu.plugin.DeviceControllerInterface/1.0.3")
namespace nsDeviceControllerInterface {