Docs For Class EWPServices

## Class EWPServices

Description

API for doing PayPal encryption services.

Located in /PayPal/EWPServices.php (line 18)

Variable Summary
EWPProfile $_profile
Method Summary
EWPServices EWPServices (EWPProfile $profile)
mixed encryptButton (array $buttonParams)
EWPProfile getEWPProfile ()
mixed getPayPalCertificateFile (string $environment)
void setEWPProfile (EWPProfile $profile)
Variables
EWPProfile $_profile (line 27)

The profile to use for encryption.

- access: protected

Methods
Constructor EWPServices (line 36)

Construct a new EWP services object.

EWPServices EWPServices (EWPProfile $profile)

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

encryptButton (line 69)

Creates a new encrypted button HTML block

- return: A string of HTML or a Paypal error object on failure

mixed encryptButton (array $buttonParams)

- array $buttonParams: The button parameters as key/value pairs

getEWPProfile (line 58)

Get the current profile.

- return: The current profile.

EWPProfile getEWPProfile ()
getPayPalCertificateFile (line 154)

Returns the PayPal public certificate filename.

- return: The path and file of the certificate file, or a PayPal error object on failure.

mixed getPayPalCertificateFile (string $environment)

- string $environment: The environment to get the certificate for.

setEWPProfile (line 48)

Use a given profile.

void setEWPProfile (EWPProfile $profile)

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

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