List of all members | Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
NoIntegration Class Reference

#include <noIntegration.h>

Inheritance diagram for NoIntegration:
TaxIntegration QObject

Signals

void connectionTested (QString)
 
void taxCalculated (double, QString)
 
void taxCodesFetched (QJsonObject, QString)
 
void taxExemptCategoriesFetched (QJsonObject, QString)
 

Public Member Functions

 NoIntegration (bool=false)
 
virtual Q_INVOKABLE bool calculateTax (QString, int, bool=false)
 
virtual Q_INVOKABLE bool cancel (QString, int, QString=QString())
 
virtual Q_INVOKABLE bool commit (QString, int)
 
virtual Q_INVOKABLE QString error ()
 
virtual Q_INVOKABLE void getTaxCodes ()
 
virtual Q_INVOKABLE void getTaxExemptCategories (QStringList=QStringList())
 
virtual Q_INVOKABLE void refund (int, QDate)
 
virtual Q_INVOKABLE void test (QStringList)
 
virtual Q_INVOKABLE void wait ()
 

Static Public Member Functions

static Q_INVOKABLE TaxIntegrationgetTaxIntegration (bool=false)
 

Protected Slots

virtual void handleResponse (QString, QString, int, QString, QString)
 
virtual void sNotified (const QString &, QSqlDriver::NotificationSource, const QVariant &)
 

Protected Member Functions

virtual void done ()
 
virtual void sendRequest (QString, QString, int, QString, QStringList, QString)
 

Protected Attributes

QString _error
 
QElapsedTimer timer
 

Constructor & Destructor Documentation

◆ NoIntegration()

NoIntegration::NoIntegration ( bool  listen = false)

Member Function Documentation

◆ calculateTax()

bool TaxIntegration::calculateTax ( QString  orderType,
int  orderId,
bool  record = false 
)
virtualinherited

◆ cancel()

bool TaxIntegration::cancel ( QString  orderType,
int  orderId,
QString  orderNumber = QString() 
)
virtualinherited

◆ commit()

bool TaxIntegration::commit ( QString  orderType,
int  orderId 
)
virtualinherited

◆ connectionTested

void TaxIntegration::connectionTested ( QString  )
signalinherited

◆ done()

void TaxIntegration::done ( )
protectedvirtualinherited

Reimplemented in AvalaraIntegration.

◆ error()

QString TaxIntegration::error ( )
virtualinherited

◆ getTaxCodes()

void TaxIntegration::getTaxCodes ( )
virtualinherited

◆ getTaxExemptCategories()

void TaxIntegration::getTaxExemptCategories ( QStringList  config = QStringList())
virtualinherited

◆ getTaxIntegration()

TaxIntegration * TaxIntegration::getTaxIntegration ( bool  listen = false)
staticinherited

◆ handleResponse

void TaxIntegration::handleResponse ( QString  type,
QString  orderType,
int  orderId,
QString  response,
QString  error 
)
protectedvirtualslotinherited

◆ refund()

void TaxIntegration::refund ( int  invcheadId,
QDate  refundDate 
)
virtualinherited

◆ sendRequest()

void NoIntegration::sendRequest ( QString  type,
QString  orderType,
int  orderId,
QString  request,
QStringList  config,
QString  orderNumber 
)
protectedvirtual

Implements TaxIntegration.

◆ sNotified

void TaxIntegration::sNotified ( const QString &  name,
QSqlDriver::NotificationSource  source,
const QVariant &  payload 
)
protectedvirtualslotinherited

◆ taxCalculated

void TaxIntegration::taxCalculated ( double  ,
QString   
)
signalinherited

◆ taxCodesFetched

void TaxIntegration::taxCodesFetched ( QJsonObject  ,
QString   
)
signalinherited

◆ taxExemptCategoriesFetched

void TaxIntegration::taxExemptCategoriesFetched ( QJsonObject  ,
QString   
)
signalinherited

◆ test()

void TaxIntegration::test ( QStringList  config)
virtualinherited

◆ wait()

void TaxIntegration::wait ( )
virtualinherited

Reimplemented in AvalaraIntegration.

Member Data Documentation

◆ _error

QString TaxIntegration::_error
protectedinherited

◆ timer

QElapsedTimer TaxIntegration::timer
protectedinherited

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 5.0.0 doxygen 1.8.17