forked from LiveCarta/PayPal-PHP-SDK
Renaming Namespaces and Organizing Classes
- Updated OpenId classes to be in API namespace - Updated PP Naming Convention to PayPal Naming Convention - FormatConverter Class got its own namespace - Handlers are grouped in Handler namespace - Samples and Tests Updated Accordingly
This commit is contained in:
76
lib/PayPal/Api/OpenIdError.php
Normal file
76
lib/PayPal/Api/OpenIdError.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
namespace PayPal\Api;
|
||||
|
||||
use PayPal\Common\PayPalModel;
|
||||
|
||||
/**
|
||||
* Error resource
|
||||
*/
|
||||
class OpenIdError extends PayPalModel
|
||||
{
|
||||
|
||||
/**
|
||||
* A single ASCII error code from the following enum.
|
||||
*
|
||||
* @param string $error
|
||||
*/
|
||||
public function setError($error)
|
||||
{
|
||||
$this->error = $error;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A single ASCII error code from the following enum.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getError()
|
||||
{
|
||||
return $this->error;
|
||||
}
|
||||
|
||||
/**
|
||||
* A resource ID that indicates the starting resource in the returned results.
|
||||
*
|
||||
* @param string $error_description
|
||||
*/
|
||||
public function setErrorDescription($error_description)
|
||||
{
|
||||
$this->error_description = $error_description;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A resource ID that indicates the starting resource in the returned results.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getErrorDescription()
|
||||
{
|
||||
return $this->error_description;
|
||||
}
|
||||
|
||||
/**
|
||||
* A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
|
||||
*
|
||||
* @param string $error_uri
|
||||
*/
|
||||
public function setErrorUri($error_uri)
|
||||
{
|
||||
$this->error_uri = $error_uri;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getErrorUri()
|
||||
{
|
||||
return $this->error_uri;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user