Files
torebki-fabiola.pl/wp-content/plugins/woo-payu-payment-gateway/includes/lib/OpenPayU/ResultError.php
2026-03-05 13:07:40 +01:00

58 lines
924 B
PHP

<?php
/**
* OpenPayU Standard Library
*
* @copyright Copyright (c) PayU
* 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;
}
}