* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ class Errors implements ErrorsInterface { /** * @var \Temando\Shipping\Rest\Response\DataObject\Error[] */ private $errors = []; /** * Obtain error entities * * @return \Temando\Shipping\Rest\Response\DataObject\Error[] */ public function getErrors() { return $this->errors; } /** * Set error entities * * @param \Temando\Shipping\Rest\Response\DataObject\Error[] $errors * @return void */ public function setErrors(array $errors) { $this->errors = $errors; } }