ocPayflowPro Class Reference

#include <ocPayflowPro.h>

List of all members.

Public Member Functions

 ~ocPayflowPro ()
 ocPayflowPro (const char *certPath, const char *host, int inPort, long inTimeout, const char *inProxyAddr=NULL, int inProxyPort=0, const char *inProxyLogon=NULL, const char *inProxyPassword=NULL)
void addParam (string inKey, string inValue)
bool submitTransaction (void)
void completeTransaction (void)
string getVersion (void)
int getRc (void)
string & getError (void)
string & getUnparsedResponse (void)
string & getResultCode (void)
string & getPnRef (void)
string & getResponseMessage (void)
string & getAuthorizationCode (void)
string & getParameters (void)
 ~ocPayflowPro ()
 ocPayflowPro (const char *certPath, const char *host, int inPort, long inTimeout, const char *inProxyAddr=NULL, int inProxyPort=0, const char *inProxyLogon=NULL, const char *inProxyPassword=NULL)
void addParam (string inKey, string inValue)
bool submitTransaction (void)
void completeTransaction (void)
string getVersion (void)
int getRc (void)
string & getError (void)
string & getUnparsedResponse (void)
string & getResultCode (void)
string & getPnRef (void)
string & getResponseMessage (void)
string & getAuthorizationCode (void)
string & getParameters (void)

Private Member Functions

bool parseTranResponse (void)
bool parseTranResponse (void)

Private Attributes

ocPfParams params
string hostAddress
int portNum
string response
string proxyAddress
int proxyPort
string proxyLogon
string proxyPassword
long timeout
int rc
int context
char * pTranResponse
bool isOk
string strError
string strResult
string strPnRef
string strResponseMessage
string strAuthCode
string strParmList
char * pTranResponse


Detailed Description

Definition at line 68 of file ocPayflowPro.h.


Constructor & Destructor Documentation

ocPayflowPro::~ocPayflowPro (  )  [inline]

Definition at line 131 of file ocPayflowPro.h.

References completeTransaction(), context, and pfproDestroyContext().

ocPayflowPro::ocPayflowPro ( const char *  certPath,
const char *  host,
int  inPort,
long  inTimeout,
const char *  inProxyAddr = NULL,
int  inProxyPort = 0,
const char *  inProxyLogon = NULL,
const char *  inProxyPassword = NULL 
) [inline]

ocPayflowPro::~ocPayflowPro (  )  [inline]

Definition at line 131 of file ocPayflowPro.h.

References completeTransaction(), context, and pfproDestroyContext().

ocPayflowPro::ocPayflowPro ( const char *  certPath,
const char *  host,
int  inPort,
long  inTimeout,
const char *  inProxyAddr = NULL,
int  inProxyPort = 0,
const char *  inProxyLogon = NULL,
const char *  inProxyPassword = NULL 
) [inline]


Member Function Documentation

bool ocPayflowPro::parseTranResponse ( void   )  [inline, private]

void ocPayflowPro::addParam ( string  inKey,
string  inValue 
) [inline]

Definition at line 198 of file ocPayflowPro.h.

References params.

Referenced by main().

bool ocPayflowPro::submitTransaction ( void   )  [inline]

void ocPayflowPro::completeTransaction ( void   )  [inline]

Definition at line 247 of file ocPayflowPro.h.

References pfproCompleteTransaction(), and pTranResponse.

Referenced by ~ocPayflowPro().

string ocPayflowPro::getVersion ( void   )  [inline]

Definition at line 256 of file ocPayflowPro.h.

References pfproVersion().

Referenced by main().

int ocPayflowPro::getRc ( void   )  [inline]

Definition at line 266 of file ocPayflowPro.h.

References rc.

Referenced by main().

string& ocPayflowPro::getError ( void   )  [inline]

Definition at line 271 of file ocPayflowPro.h.

References strError.

Referenced by main().

string& ocPayflowPro::getUnparsedResponse ( void   )  [inline]

Definition at line 276 of file ocPayflowPro.h.

References response.

Referenced by main().

string& ocPayflowPro::getResultCode ( void   )  [inline]

Definition at line 281 of file ocPayflowPro.h.

References strResult.

Referenced by main(), and submitTransaction().

string& ocPayflowPro::getPnRef ( void   )  [inline]

Definition at line 286 of file ocPayflowPro.h.

References strPnRef.

Referenced by main(), and submitTransaction().

string& ocPayflowPro::getResponseMessage ( void   )  [inline]

Definition at line 291 of file ocPayflowPro.h.

References strResponseMessage.

Referenced by main(), and submitTransaction().

string& ocPayflowPro::getAuthorizationCode ( void   )  [inline]

Definition at line 296 of file ocPayflowPro.h.

References strAuthCode.

Referenced by main().

string& ocPayflowPro::getParameters ( void   )  [inline]

Definition at line 300 of file ocPayflowPro.h.

References strParmList.

Referenced by main().

bool ocPayflowPro::parseTranResponse ( void   )  [inline, private]

void ocPayflowPro::addParam ( string  inKey,
string  inValue 
) [inline]

Definition at line 198 of file ocPayflowPro.h.

References params.

bool ocPayflowPro::submitTransaction ( void   )  [inline]

void ocPayflowPro::completeTransaction ( void   )  [inline]

Definition at line 247 of file ocPayflowPro.h.

References pfproCompleteTransaction(), and pTranResponse.

string ocPayflowPro::getVersion ( void   )  [inline]

Definition at line 256 of file ocPayflowPro.h.

References pfproVersion().

int ocPayflowPro::getRc ( void   )  [inline]

Definition at line 266 of file ocPayflowPro.h.

References rc.

string& ocPayflowPro::getError ( void   )  [inline]

Definition at line 271 of file ocPayflowPro.h.

References strError.

string& ocPayflowPro::getUnparsedResponse ( void   )  [inline]

Definition at line 276 of file ocPayflowPro.h.

References response.

string& ocPayflowPro::getResultCode ( void   )  [inline]

Definition at line 281 of file ocPayflowPro.h.

References strResult.

string& ocPayflowPro::getPnRef ( void   )  [inline]

Definition at line 286 of file ocPayflowPro.h.

References strPnRef.

string& ocPayflowPro::getResponseMessage ( void   )  [inline]

Definition at line 291 of file ocPayflowPro.h.

References strResponseMessage.

string& ocPayflowPro::getAuthorizationCode ( void   )  [inline]

Definition at line 296 of file ocPayflowPro.h.

References strAuthCode.

string& ocPayflowPro::getParameters ( void   )  [inline]

Definition at line 300 of file ocPayflowPro.h.

References strParmList.


Member Data Documentation

Definition at line 70 of file ocPayflowPro.h.

Referenced by addParam(), and submitTransaction().

string ocPayflowPro::hostAddress [private]

Definition at line 71 of file ocPayflowPro.h.

Referenced by ocPayflowPro().

int ocPayflowPro::portNum [private]

Definition at line 72 of file ocPayflowPro.h.

Referenced by ocPayflowPro().

string ocPayflowPro::response [private]

Definition at line 73 of file ocPayflowPro.h.

Referenced by getUnparsedResponse(), and submitTransaction().

string ocPayflowPro::proxyAddress [private]

Definition at line 74 of file ocPayflowPro.h.

Referenced by ocPayflowPro().

int ocPayflowPro::proxyPort [private]

Definition at line 75 of file ocPayflowPro.h.

Referenced by ocPayflowPro().

string ocPayflowPro::proxyLogon [private]

Definition at line 76 of file ocPayflowPro.h.

Referenced by ocPayflowPro().

string ocPayflowPro::proxyPassword [private]

Definition at line 77 of file ocPayflowPro.h.

Referenced by ocPayflowPro().

long ocPayflowPro::timeout [private]

Definition at line 78 of file ocPayflowPro.h.

Referenced by ocPayflowPro().

int ocPayflowPro::rc [private]

Definition at line 79 of file ocPayflowPro.h.

Referenced by getRc(), ocPayflowPro(), and submitTransaction().

int ocPayflowPro::context [private]

Definition at line 80 of file ocPayflowPro.h.

Referenced by ocPayflowPro(), submitTransaction(), and ~ocPayflowPro().

char* ocPayflowPro::pTranResponse [private]

Definition at line 81 of file ocPayflowPro.h.

Referenced by completeTransaction(), parseTranResponse(), and submitTransaction().

bool ocPayflowPro::isOk [private]

Definition at line 82 of file ocPayflowPro.h.

Referenced by ocPayflowPro().

string ocPayflowPro::strError [private]

Definition at line 83 of file ocPayflowPro.h.

Referenced by getError(), ocPayflowPro(), and submitTransaction().

string ocPayflowPro::strResult [private]

Definition at line 84 of file ocPayflowPro.h.

Referenced by getResultCode(), and parseTranResponse().

string ocPayflowPro::strPnRef [private]

Definition at line 85 of file ocPayflowPro.h.

Referenced by getPnRef(), and parseTranResponse().

Definition at line 86 of file ocPayflowPro.h.

Referenced by getResponseMessage(), and parseTranResponse().

string ocPayflowPro::strAuthCode [private]

Definition at line 87 of file ocPayflowPro.h.

Referenced by getAuthorizationCode(), and parseTranResponse().

string ocPayflowPro::strParmList [private]

Definition at line 88 of file ocPayflowPro.h.

Referenced by getParameters(), and submitTransaction().

char* ocPayflowPro::pTranResponse [private]

Definition at line 81 of file ocPayflowPro.h.


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

Generated on Sat Aug 15 12:48:31 2009 for w3systemsDevelopment by  doxygen 1.5.5