#include <taxIntegration.h>
|
| TaxIntegration (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 () |
|
|
virtual void | handleResponse (QString, QString, int, QString, QString) |
|
virtual void | sNotified (const QString &, QSqlDriver::NotificationSource, const QVariant &) |
|
|
virtual void | done () |
|
virtual void | sendRequest (QString, QString=QString(), int=0, QString=QString(), QStringList=QStringList(), QString=QString())=0 |
|
◆ TaxIntegration()
TaxIntegration::TaxIntegration |
( |
bool |
listen = false | ) |
|
◆ calculateTax()
bool TaxIntegration::calculateTax |
( |
QString |
orderType, |
|
|
int |
orderId, |
|
|
bool |
record = false |
|
) |
| |
|
virtual |
◆ cancel()
bool TaxIntegration::cancel |
( |
QString |
orderType, |
|
|
int |
orderId, |
|
|
QString |
orderNumber = QString() |
|
) |
| |
|
virtual |
◆ commit()
bool TaxIntegration::commit |
( |
QString |
orderType, |
|
|
int |
orderId |
|
) |
| |
|
virtual |
◆ connectionTested
void TaxIntegration::connectionTested |
( |
QString |
| ) |
|
|
signal |
◆ done()
void TaxIntegration::done |
( |
| ) |
|
|
protectedvirtual |
◆ error()
QString TaxIntegration::error |
( |
| ) |
|
|
virtual |
◆ getTaxCodes()
void TaxIntegration::getTaxCodes |
( |
| ) |
|
|
virtual |
◆ getTaxExemptCategories()
void TaxIntegration::getTaxExemptCategories |
( |
QStringList |
config = QStringList() | ) |
|
|
virtual |
◆ getTaxIntegration()
TaxIntegration * TaxIntegration::getTaxIntegration |
( |
bool |
listen = false | ) |
|
|
static |
◆ handleResponse
void TaxIntegration::handleResponse |
( |
QString |
type, |
|
|
QString |
orderType, |
|
|
int |
orderId, |
|
|
QString |
response, |
|
|
QString |
error |
|
) |
| |
|
protectedvirtualslot |
◆ refund()
void TaxIntegration::refund |
( |
int |
invcheadId, |
|
|
QDate |
refundDate |
|
) |
| |
|
virtual |
◆ sendRequest()
virtual void TaxIntegration::sendRequest |
( |
QString |
, |
|
|
QString |
= QString() , |
|
|
int |
= 0 , |
|
|
QString |
= QString() , |
|
|
QStringList |
= QStringList() , |
|
|
QString |
= QString() |
|
) |
| |
|
protectedpure virtual |
◆ sNotified
void TaxIntegration::sNotified |
( |
const QString & |
name, |
|
|
QSqlDriver::NotificationSource |
source, |
|
|
const QVariant & |
payload |
|
) |
| |
|
protectedvirtualslot |
◆ taxCalculated
void TaxIntegration::taxCalculated |
( |
double |
, |
|
|
QString |
|
|
) |
| |
|
signal |
◆ taxCodesFetched
void TaxIntegration::taxCodesFetched |
( |
QJsonObject |
, |
|
|
QString |
|
|
) |
| |
|
signal |
◆ taxExemptCategoriesFetched
void TaxIntegration::taxExemptCategoriesFetched |
( |
QJsonObject |
, |
|
|
QString |
|
|
) |
| |
|
signal |
◆ test()
void TaxIntegration::test |
( |
QStringList |
config | ) |
|
|
virtual |
◆ wait()
void TaxIntegration::wait |
( |
| ) |
|
|
virtual |
◆ _error
QString TaxIntegration::_error |
|
protected |
◆ timer
QElapsedTimer TaxIntegration::timer |
|
protected |
The documentation for this class was generated from the following files:
- taxIntegration.h
- taxIntegration.cpp