Interface class that wraps all WSDL ports into a unified API for the user. Also handles PayPal-specific details like type handling, error handling, etc.
$Id: CallerServices.php,v 1.4 2006/03/17 07:00:30 dennis Exp $
Located in /PayPal/CallerServices.php (line 32)
SOAP_Client | --CallerServices
The portType/environment -> endpoint map.
If we're logging, what directory should we create log files in? Note that a log name coincides with a symlink, logging will *not* be done to avoid security problems. File names are <DateStamp>.PayPal.log.
The PEAR Log object we use for logging.
What level should we log at? Valid levels are: PEAR_LOG_ERR - Log only severe errors.
PEAR_LOG_INFO - (default) Date/time of operation, operation name, elapsed time, success or failure indication. PEAR_LOG_DEBUG - Full text of SOAP requests and responses and other debugging messages.
See the PayPal SDK User Guide for more details on these log levels.
The profile to use in API calls.
Construct a new CallerServices object.
Override SOAP_Client::call() to always add our security header first.
Gets the PEAR Log object to use.
Take the decoded array from SOAP_Client::__call() and turn it into an object of the appropriate AbstractResponseType subclass.
Use a given profile.
Sets the WSDL endpoint based on $portType and on the environment set in the user's profile.
Sets a custom PEAR Log object to use in logging.
Override some of the default SOAP:: package _decode behavior to handle simpleTypes and complexTypes with simpleContent.
Return the difference between now and $start in microseconds.
Return the current time including microseconds.
Log the current transaction depending on the current log level.
Strip sensitive information (API passwords and credit card numbers) from raw XML requests/responses.
Documentation generated on Thu, 11 May 2006 22:39:09 -0400 by phpDocumentor 1.3.0RC3