Class APIProfile

Description

Stores API Profile information used for performing transactions on the PayPal API

Located in /PayPal/Profile/API.php (line 17)

Profile
   |
   --APIProfile
Method Summary
APIProfile APIProfile (string $id, ProfileHandler &$handler)
string getAPIPassword ()
string getAPIUsername ()
string getCertificateFile ()
void getInstance (mixed $id, mixed &$handler)
string getSubject ()
void setAPIPassword (string $password)
void setAPIUsername (string $username)
void setCertificateFile (string $filename)
void setCertificatePassword (string $password)
void setSubject (string $subject)
mixed validate ()
Variables
Methods
Constructor APIProfile (line 73)

Constructor

APIProfile APIProfile (string $id, ProfileHandler &$handler)
  • string $id: A unique id for the profile.
  • ProfileHandler $handler: A handler object where the profile is stored.
getAPIPassword (line 138)

Get the API password for the profile.

  • return: The password for the profile.
string getAPIPassword ()
getAPIUsername (line 118)

Returns the API username for the profile.

  • return: The API username.
string getAPIUsername ()
getCertificateFile (line 148)

Get the Certificate file associated with the profile.

  • return: The certificate file associated with the profile.
string getCertificateFile ()
getCertificatePassword (line 178)

Get the certificate password.

  • return: The certificate password.
string getCertificatePassword ()
getInstance (line 216)
void getInstance (mixed $id, mixed &$handler)

Redefinition of:
Profile::getInstance()
getSubject (line 198)

Get the subject of the associated profile.

  • return: The subject associated with the profile.
string getSubject ()
setAPIPassword (line 128)

Sets the API password for the profile.

void setAPIPassword (string $password)
  • string $password: The password for the profile.
setAPIUsername (line 108)

Sets the API username for the profile.

void setAPIUsername (string $username)
  • string $username: The API username.
setCertificateFile (line 158)

Set the certificate file associated with the profile.

void setCertificateFile (string $filename)
  • string $filename: The certificate file associated with the profile.
setCertificatePassword (line 168)

Set the certificate password.

void setCertificatePassword (string $password)
  • string $password: The certificate password.
setSubject (line 188)

Set the subject associated with the profile.

void setSubject (string $subject)
  • string $subject: The subject of the profile.
validate (line 83)

Validates the profile data currently loaded before use.

  • return: true if the data is valid, or a PayPal_Error object on failure.
mixed validate ()
_getSerializeList (line 210)

Returns an array of member variables names which should be included when storing the profile.

  • return: An array of member variable names which should be included.
  • access: protected
array _getSerializeList ()

Redefinition of:
Profile::_getSerializeList()
Returns an array of member variables names which should be included when storing the profile.

Inherited Methods

Inherited From Profile

Profile::Profile()
Profile::getEnvironment()
Profile::getID()
Profile::getInstance()
Profile::getValidEnvironments()
Profile::loadEnvironments()
Profile::save()
Profile::setEnvironment()
Profile::_getSerializeList()

Documentation generated on Thu, 23 Jun 2005 13:27:40 -0400 by phpDocumentor 1.2.3