Docs For Class PayPal

## Class PayPal

Description

End point for users to access the PayPal API, provides utility methods used internally as well as factory methods.

$Id: PayPal.php,v 1.1.1.1 2006/02/19 08:15:19 dennis Exp $

- static:

Located in /PayPal.php (line 23)

    PEAR
       |
       --PayPal

Method Summary
CallerServices &getCallerServices (APIProfile $profile)
void getCallerServicesIntrospection ()
mixed getEndpoints ()
EWPServices &getEWPServices (EWPProfile $profile)
string getPackageRoot ()
mixed &getType (string $type)
void getTypeList ()
float getWSDLVersion ()
void raiseError (mixed $message, [mixed $code = null])
Methods
getCallerServices (line 69)

Load a CallerServices object for making API calls.

- return: A PayPal API caller object.
- static:

CallerServices &getCallerServices (APIProfile $profile)

- APIProfile $profile: The profile with the username, password, and any other information necessary to use CallerServices.

getCallerServicesIntrospection (line 192)

Get information describing what methods are available.

- static:

void getCallerServicesIntrospection ()
getEndpoints (line 149)

Returns the endpoint map.

- return: The Paypal endpoint map or a Paypal error object on failure
- static:

mixed getEndpoints ()
getEWPServices (line 103)

Load an EWPServices object for performing encryption operations.

- return: A PayPal EWP services object.
- static:

EWPServices &getEWPServices (EWPProfile $profile)

- EWPProfile $profile: The profile with the username, password, and any other information necessary to use EWPServices.

getPackageRoot (line 125)

Returns the package root directory.

- return: The path where the package is installed.
- static:

string getPackageRoot ()
getType (line 46)

Try to instantiate the class for $type. Looks inside the Type/ directory containing all generated types. Allows for run-time loading of needed types.

- return: XSDType | PayPal_Error Either an instance of $type or an error.
- static:

mixed &getType (string $type)

- string $type: The name of the type (eg. AbstractRequestType).

getTypeList (line 168)

Get information describing all types provided by the SDK.

- static:

void getTypeList ()
getWSDLVersion (line 137)

Returns the version of the WSDL that this SDK is built against.

- return: The WSDL version.
- static:

float getWSDLVersion ()
raiseError (line 30)

Raise an error when one occurs

- static:

void raiseError (mixed $message, [mixed $code = null])

Documentation generated on Thu, 11 May 2006 22:39:19 -0400 by phpDocumentor 1.3.0RC3