The implementation of Authorize.Net-specific credit card handling. More...
#include <authorizedotnetprocessor.h>
Public Member Functions | |
AuthorizeDotNetProcessor () | |
Protected Member Functions | |
virtual int | buildCommon (const int, const int, const double, const int, QString &, QString) |
virtual int | doAuthorize (const int, const int, double &, const double, const bool, const double, const double, const int, QString &, QString &, int &, ParameterList &) |
Placeholder for subclasses to override. | |
virtual int | doCharge (const int, const int, const double, const double, const bool, const double, const double, const int, QString &, QString &, int &, ParameterList &) |
Placeholder for subclasses to override. | |
virtual int | doChargePreauthorized (const int, const int, const double, const int, QString &, QString &, int &, ParameterList &) |
Placeholder for subclasses to override. | |
virtual int | doCredit (const int, const int, const double, const double, const bool, const double, const double, const int, QString &, QString &, int &, ParameterList &) |
Placeholder for subclasses to override. | |
virtual int | doTestConfiguration () |
Placeholder for subclasses to override. | |
virtual int | doVoidPrevious (const int, const int, const double, const int, QString &, QString &, QString &, int &, ParameterList &) |
Placeholder for subclasses to override. | |
virtual int | handleResponse (const QString &, const int, const QString &, const double, const int, QString &, QString &, int &, ParameterList &) |
virtual bool | handlesCreditCards () |
Returns whether the subclass handles credit cards. |
The implementation of Authorize.Net-specific credit card handling.
int AuthorizeDotNetProcessor::buildCommon | ( | const int | pccardid, |
const int | pcvv, | ||
const double | pamount, | ||
const int | pcurrid, | ||
QString & | prequest, | ||
QString | pordertype | ||
) | [protected, virtual] |
int AuthorizeDotNetProcessor::doAuthorize | ( | const int | pccardid, |
const int | pcvv, | ||
double & | pamount, | ||
const double | ptax, | ||
const bool | ptaxexempt, | ||
const double | pfreight, | ||
const double | pduty, | ||
const int | pcurrid, | ||
QString & | pneworder, | ||
QString & | preforder, | ||
int & | pccpayid, | ||
ParameterList & | pparams | ||
) | [protected, virtual] |
int AuthorizeDotNetProcessor::doCharge | ( | const int | pccardid, |
const int | pcvv, | ||
const double | pamount, | ||
const double | ptax, | ||
const bool | ptaxexempt, | ||
const double | pfreight, | ||
const double | pduty, | ||
const int | pcurrid, | ||
QString & | pneworder, | ||
QString & | preforder, | ||
int & | pccpayid, | ||
ParameterList & | |||
) | [protected, virtual] |
int AuthorizeDotNetProcessor::doChargePreauthorized | ( | const int | pccardid, |
const int | pcvv, | ||
const double | pamount, | ||
const int | pcurrid, | ||
QString & | pneworder, | ||
QString & | preforder, | ||
int & | pccpayid, | ||
ParameterList & | |||
) | [protected, virtual] |
Placeholder for subclasses to override.
Reimplemented from CreditCardProcessor.
int AuthorizeDotNetProcessor::doCredit | ( | const int | pccardid, |
const int | pcvv, | ||
const double | pamount, | ||
const double | ptax, | ||
const bool | ptaxexempt, | ||
const double | pfreight, | ||
const double | pduty, | ||
const int | pcurrid, | ||
QString & | pneworder, | ||
QString & | preforder, | ||
int & | pccpayid, | ||
ParameterList & | |||
) | [protected, virtual] |
int AuthorizeDotNetProcessor::doTestConfiguration | ( | ) | [protected, virtual] |
Placeholder for subclasses to override.
Reimplemented from CreditCardProcessor.
int AuthorizeDotNetProcessor::doVoidPrevious | ( | const int | pccardid, |
const int | pcvv, | ||
const double | pamount, | ||
const int | pcurrid, | ||
QString & | pneworder, | ||
QString & | preforder, | ||
QString & | papproval, | ||
int & | pccpayid, | ||
ParameterList & | |||
) | [protected, virtual] |
Placeholder for subclasses to override.
Reimplemented from CreditCardProcessor.
int AuthorizeDotNetProcessor::handleResponse | ( | const QString & | presponse, |
const int | pccardid, | ||
const QString & | ptype, | ||
const double | pamount, | ||
const int | pcurrid, | ||
QString & | pneworder, | ||
QString & | preforder, | ||
int & | pccpayid, | ||
ParameterList & | pparams | ||
) | [protected, virtual] |
bool AuthorizeDotNetProcessor::handlesCreditCards | ( | ) | [protected, virtual] |
Returns whether the subclass handles credit cards.
Reimplemented from CreditCardProcessor.
Generated on Mon Jan 23 2012 12:22:30 | xTuple ERP Programmer Reference, Version 3.8.0 | 1.7.6.1 |