Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Static Public Attributes | List of all members
EMVTerminalBusinessLogic Class Reference

#include <EMVTerminalBusinessLogic.h>

Inheritance diagram for EMVTerminalBusinessLogic:
Inheritance graph
[legend]
Collaboration diagram for EMVTerminalBusinessLogic:
Collaboration graph
[legend]

Classes

class  DataClass
 

Public Member Functions

 EMVTerminalBusinessLogic ()
 
virtual ~EMVTerminalBusinessLogic ()
 
void Init (SlaveBusinessLogic *slaveBusinessLogic)
 
bool IsEMVTerminalEnabled ()
 
bool IsEMVTerminalSlaveType ()
 
EM::Devices::EMVDefines::TerminalType GetEMVTerminalType () const
 
bool IsEMVTerminalReady ()
 
bool IsEMVTerminalInTransaction (bool &messageWasSent)
 
bool SendPaymentTransactionToEMVTerminal (unsigned long amount)
 
bool SendPassivateTransactionToEMVTerminal ()
 
bool SendReversalOfLastTransactionToEMVTerminal (QString approvalCode)
 
bool SendHandshakeTransactionToEMVTerminal ()
 
void SendReadStoplistVersionTransactionToEMVTerminal ()
 
bool GetLastTransactionFromEMVTerminal (EM::Devices::EMVDefines::EMVTerminalErrorCode &responseCode, QDateTime &transactionDateTime, QString &message, unsigned long &amount, QString &cardNumber, QString &cardBranch, QString &approvalCode, QString &serialNumber, QString &terminalId, QString &invoiceNumber)
 
bool IsAllowedAmountOfEMVPayment (long priceInCents)
 
bool SwitchAntennaToValidator ()
 
void IssueOut ()
 
bool SendCallParamsTransactionToEMVTerminal (const bool manual)
 
bool SendCallBankManagementToEMVTerminal (const bool manual)
 
bool IsCallingTerminalBankManagementNeeded (bool &forceCalling)
 
bool IsCallingTerminalParamsTransactionNeeded (bool &forceCalling)
 
void OnCallParamsTransactionToEMVTerminalResult (const bool paramsTransactionFinishedSuccessfully, const DispatchingBusinessLogic *dispatchingBusinessLogic)
 
bool CheckStoplistValidity (QString stoplistVersion, QString stoplistValidity, const DispatchingBusinessLogic *dispatchingBusinessLogic)
 
bool GetStoplistValidityEnd (QDateTime &stoplistValidityEnd)
 
bool GetMonitoringInfo (ApplicationDefines::MonitoringDeviceStatus &deviceStatus, QString &stateDescription)
 
bool EmvPaymentExistsInStatistic (long long transactionApprovalCode)
 
bool SetTerminalTime ()
 
bool IsEmvCardPresent ()
 
void SetEmvCardPresent (const bool isEmvCardPresent)
 
QString GetApproachedEmvCardNumber ()
 
void SetApproachedEmvCardNumber (const QString &emvCardNumber)
 
QString GetFinishedTransactionEmvCardNumber ()
 
void SetFinishedTransactionEmvCardNumber (const QString &emvCardNumber)
 
void InvalidateEmvData ()
 
bool GetAppVersion (unsigned long &versionMajor, unsigned long &versionMinor, unsigned long &versionPatch)
 
bool UpdateEMVTerminalFromLocalFTP (const QString &ftpIpAddress, const unsigned long portNumber, const QString &login, const QString &password, const QString &ftpDirectory)
 
- Public Member Functions inherited from BusinessLogic
 BusinessLogic (ApplicationDefines::BusinessLogicType businessLogicType, ApplicationDefines::BusinessLogicLifeTimeType businessLogicLifeTimeType)
 
virtual ~BusinessLogic ()
 
ApplicationDefines::BusinessLogicType GetBusinessLogicType () const
 
ApplicationDefines::BusinessLogicLifeTimeType GetBusinessLogicLifeTimeType () const
 

Static Public Attributes

static const
ApplicationDefines::BusinessLogicType 
mBusinessLogicType = ApplicationDefines::EMVTerminalBusinessLogic
 

Constructor & Destructor Documentation

EMVTerminalBusinessLogic::EMVTerminalBusinessLogic ( )
EMVTerminalBusinessLogic::~EMVTerminalBusinessLogic ( )
virtual

Member Function Documentation

bool EMVTerminalBusinessLogic::CheckStoplistValidity ( QString  stoplistVersion,
QString  stoplistValidity,
const DispatchingBusinessLogic dispatchingBusinessLogic 
)

Here is the call graph for this function:

bool EMVTerminalBusinessLogic::EmvPaymentExistsInStatistic ( long long  transactionApprovalCode)

Here is the caller graph for this function:

QString EMVTerminalBusinessLogic::GetApproachedEmvCardNumber ( )
bool EMVTerminalBusinessLogic::GetAppVersion ( unsigned long &  versionMajor,
unsigned long &  versionMinor,
unsigned long &  versionPatch 
)

Here is the caller graph for this function:

EMVDefines::TerminalType EMVTerminalBusinessLogic::GetEMVTerminalType ( ) const

Here is the caller graph for this function:

QString EMVTerminalBusinessLogic::GetFinishedTransactionEmvCardNumber ( )
bool EMVTerminalBusinessLogic::GetLastTransactionFromEMVTerminal ( EM::Devices::EMVDefines::EMVTerminalErrorCode &  responseCode,
QDateTime &  transactionDateTime,
QString &  message,
unsigned long &  amount,
QString &  cardNumber,
QString &  cardBranch,
QString &  approvalCode,
QString &  serialNumber,
QString &  terminalId,
QString &  invoiceNumber 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::GetMonitoringInfo ( ApplicationDefines::MonitoringDeviceStatus deviceStatus,
QString &  stateDescription 
)
bool EMVTerminalBusinessLogic::GetStoplistValidityEnd ( QDateTime &  stoplistValidityEnd)
void EMVTerminalBusinessLogic::Init ( SlaveBusinessLogic slaveBusinessLogic)
void EMVTerminalBusinessLogic::InvalidateEmvData ( )

Here is the call graph for this function:

bool EMVTerminalBusinessLogic::IsAllowedAmountOfEMVPayment ( long  priceInCents)
bool EMVTerminalBusinessLogic::IsCallingTerminalBankManagementNeeded ( bool &  forceCalling)

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::IsCallingTerminalParamsTransactionNeeded ( bool &  forceCalling)

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::IsEmvCardPresent ( )
bool EMVTerminalBusinessLogic::IsEMVTerminalEnabled ( )

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::IsEMVTerminalInTransaction ( bool &  messageWasSent)

Here is the call graph for this function:

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::IsEMVTerminalReady ( )

Here is the call graph for this function:

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::IsEMVTerminalSlaveType ( )

Here is the caller graph for this function:

void EMVTerminalBusinessLogic::IssueOut ( )

Here is the call graph for this function:

void EMVTerminalBusinessLogic::OnCallParamsTransactionToEMVTerminalResult ( const bool  paramsTransactionFinishedSuccessfully,
const DispatchingBusinessLogic dispatchingBusinessLogic 
)

Here is the call graph for this function:

bool EMVTerminalBusinessLogic::SendCallBankManagementToEMVTerminal ( const bool  manual)

Here is the call graph for this function:

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::SendCallParamsTransactionToEMVTerminal ( const bool  manual)

Here is the call graph for this function:

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::SendHandshakeTransactionToEMVTerminal ( )

Here is the call graph for this function:

bool EMVTerminalBusinessLogic::SendPassivateTransactionToEMVTerminal ( )

Here is the call graph for this function:

bool EMVTerminalBusinessLogic::SendPaymentTransactionToEMVTerminal ( unsigned long  amount)

Here is the call graph for this function:

void EMVTerminalBusinessLogic::SendReadStoplistVersionTransactionToEMVTerminal ( )

Here is the call graph for this function:

bool EMVTerminalBusinessLogic::SendReversalOfLastTransactionToEMVTerminal ( QString  approvalCode)

Here is the call graph for this function:

void EMVTerminalBusinessLogic::SetApproachedEmvCardNumber ( const QString &  emvCardNumber)

Here is the caller graph for this function:

void EMVTerminalBusinessLogic::SetEmvCardPresent ( const bool  isEmvCardPresent)

Here is the caller graph for this function:

void EMVTerminalBusinessLogic::SetFinishedTransactionEmvCardNumber ( const QString &  emvCardNumber)

Here is the caller graph for this function:

bool EMVTerminalBusinessLogic::SetTerminalTime ( )

Here is the call graph for this function:

bool EMVTerminalBusinessLogic::SwitchAntennaToValidator ( )

Here is the call graph for this function:

bool EMVTerminalBusinessLogic::UpdateEMVTerminalFromLocalFTP ( const QString &  ftpIpAddress,
const unsigned long  portNumber,
const QString &  login,
const QString &  password,
const QString &  ftpDirectory 
)

Member Data Documentation

const ApplicationDefines::BusinessLogicType EMVTerminalBusinessLogic::mBusinessLogicType = ApplicationDefines::EMVTerminalBusinessLogic
static

The documentation for this class was generated from the following files: