Files
2024-11-11 18:46:54 +01:00

59 lines
1.0 KiB
PHP

<?php
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) 2011-2016 PayU
* @license http://opensource.org/licenses/LGPL-3.0 Open Software License (LGPL 3.0)
* http://www.payu.com
* http://developers.payu.com
*/
class ResultError
{
/**
* @var string
*/
private $error;
/**
* @var string
*/
private $errorDescription;
/**
* @return string
*/
public function getError()
{
return $this->error;
}
/**
* @param string $error
* @return ResultError
*/
public function setError($error)
{
$this->error = $error;
return $this;
}
/**
* @return string
*/
public function getErrorDescription()
{
return $this->errorDescription;
}
/**
* @param string $errorDescription
* @return ResultError
*/
public function setErrorDescription($errorDescription)
{
$this->errorDescription = $errorDescription;
return $this;
}
}