com.Verisign.payment
Class PFProAPI

java.lang.Object
  extended bycom.Verisign.payment.TransactionClient
      extended bycom.Verisign.payment.PFProAPI

public final class PFProAPI
extends TransactionClient

PFProAPI - PayPal Payflow Pro API class


Constructor Summary
PFProAPI()
           
 
Method Summary
 int CreateContext(java.lang.String HostAddress, int HostPort, int Timeout, java.lang.String ProxyAddress, int ProxyPort, java.lang.String ProxyLogon, java.lang.String ProxyPassword)
          CreateContext() - This function creates a context which is used to communicate with the PayPal Payment Server.
 int DestroyContext()
          DestroyContext() - Destroys the context created by CreateContext().
 void SetCertPath(java.lang.String CertPath)
          Set the path in which the local certificate can be found.
 java.lang.String SubmitTransaction(java.lang.String ParmList)
          SubmitTransaction() - Submits a transaction to the PayPal Payment Server.
 java.lang.String Version()
          Get the current version.
 
Methods inherited from class com.Verisign.payment.TransactionClient
InternalCreateContext, InternalDestroyContext, InternalSetCertPath, InternalSubmitTransaction, InternalVersion, println, println
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PFProAPI

public PFProAPI()
Method Detail

SetCertPath

public void SetCertPath(java.lang.String CertPath)
Set the path in which the local certificate can be found.


Version

public java.lang.String Version()
Get the current version.

Returns:
the Payflow Pro Client Version string.

CreateContext

public int CreateContext(java.lang.String HostAddress,
                         int HostPort,
                         int Timeout,
                         java.lang.String ProxyAddress,
                         int ProxyPort,
                         java.lang.String ProxyLogon,
                         java.lang.String ProxyPassword)
CreateContext() - This function creates a context which is used to communicate with the PayPal Payment Server.

Parameters:
HostAddress - Connect to address (Example: test.signio.com)
HostPort - Port to connect to (Example: 443)
Timeout - Seconds in before transaction fails due to timeout
ProxyAddress - The address of your proxy server if you have one, "" otherwise
ProxyPort - The port of your proxy server if you have one, 0 otherwise
ProxyLogon - Your logon name on your proxy server if you have one, "" otherwise
ProxyPassword - Your password on your proxy server if you have one, "" otherwise

DestroyContext

public int DestroyContext()
DestroyContext() - Destroys the context created by CreateContext().


SubmitTransaction

public java.lang.String SubmitTransaction(java.lang.String ParmList)
SubmitTransaction() - Submits a transaction to the PayPal Payment Server.

Parameters:
ParmList - Variables passed to PayPal. See PayPal Integration Documentation.