Public Member Functions | Protected Member Functions
ExternalCCProcessor Class Reference

A simple interface for entering credit card transaction information manually. More...

#include <externalccprocessor.h>

List of all members.

Public Member Functions

 ExternalCCProcessor ()
virtual Q_INVOKABLE int testConfiguration ()
 Simplify CreditCardProcessor's implementation - we really don't care about much with the external credit card processor.

Protected Member Functions

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 doVoidPrevious (const int, const int, const double, const int, QString &, QString &, QString &, int &, ParameterList &)
 Placeholder for subclasses to override.
virtual bool handlesCreditCards ()
 Returns whether the subclass handles credit cards.
virtual int handleTrans (const int, const QString &, const int, const double, const int, QString &, QString &, int &, ParameterList &)

Detailed Description

A simple interface for entering credit card transaction information manually.


Constructor & Destructor Documentation


Member Function Documentation

int ExternalCCProcessor::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]

Placeholder for subclasses to override.

See also:
authorize

Reimplemented from CreditCardProcessor.

int ExternalCCProcessor::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]

Placeholder for subclasses to override.

See also:
charge

Reimplemented from CreditCardProcessor.

int ExternalCCProcessor::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.

See also:
chargePreauthorized

Reimplemented from CreditCardProcessor.

int ExternalCCProcessor::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]

Placeholder for subclasses to override.

See also:
credit

Reimplemented from CreditCardProcessor.

int ExternalCCProcessor::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.

See also:
voidPrevious

Reimplemented from CreditCardProcessor.

bool ExternalCCProcessor::handlesCreditCards ( ) [protected, virtual]

Returns whether the subclass handles credit cards.

Reimplemented from CreditCardProcessor.

int ExternalCCProcessor::handleTrans ( const int  pccardid,
const QString ptype,
const int  pcvv,
const double  pamount,
const int  pcurrid,
QString pneworder,
QString preforder,
int &  pccpayid,
ParameterList &  pparams 
) [protected, virtual]

Simplify CreditCardProcessor's implementation - we really don't care about much with the external credit card processor.

Reimplemented from CreditCardProcessor.


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

Generated on Mon Jan 23 2012 12:22:33 xTuple ERP Programmer Reference, Version 3.8.0 doxygen 1.7.6.1