This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/OpenIdError.php
japatel 9c0827643b 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
2014-12-18 14:16:41 -06:00

77 lines
1.6 KiB
PHP

<?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;
}
}