PHP Class PayPal\Auth\PPCertificateCredential

Inheritance: extends IPPCredential
Afficher le fichier Open project: paypal/sdk-core-php Class Usage Examples

Protected Properties

Свойство Type Description
$applicationId string Test application Ids are available for the sandbox environment
$certificatePassPhrase string Password used to protect the API certificate
$certificatePath string Path to PEM encoded API certificate on local filesystem
$password string API password
$userName string API username

Méthodes publiques

Méthode Description
__construct ( string $userName, string $password, string $certPath, string $certificatePassPhrase = null ) Constructs a new certificate credential object
getApplicationId ( )
getCertificatePassPhrase ( )
getCertificatePath ( )
getPassword ( )
getUserName ( )
setApplicationId ( $applicationId )
validate ( )

Method Details

__construct() public méthode

Constructs a new certificate credential object
public __construct ( string $userName, string $password, string $certPath, string $certificatePassPhrase = null )
$userName string API username
$password string API password
$certPath string Path to PEM encoded client certificate file
$certificatePassPhrase string password need to use the certificate

getApplicationId() public méthode

public getApplicationId ( )

getCertificatePassPhrase() public méthode

getCertificatePath() public méthode

public getCertificatePath ( )

getPassword() public méthode

public getPassword ( )

getUserName() public méthode

public getUserName ( )

setApplicationId() public méthode

public setApplicationId ( $applicationId )

validate() public méthode

public validate ( )

Property Details

$applicationId protected_oe property

Test application Ids are available for the sandbox environment
protected string $applicationId
Résultat string

$certificatePassPhrase protected_oe property

Password used to protect the API certificate
protected string $certificatePassPhrase
Résultat string

$certificatePath protected_oe property

Path to PEM encoded API certificate on local filesystem
protected string $certificatePath
Résultat string

$password protected_oe property

API password
protected string $password
Résultat string

$userName protected_oe property

API username
protected string $userName
Résultat string