* @author Benjamin Heuer * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link http://www.temando.com/ */ class Shipment { /** * @var string */ private $id; /** * @var string */ private $status; /** * @var \Temando\Shipping\Rest\Response\Fields\Generic\Shipment\Error[] */ private $errors = []; /** * @return string */ public function getId() { return $this->id; } /** * @param string $id * @return void */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getStatus() { return $this->status; } /** * @param string $status * @return void */ public function setStatus($status) { $this->status = $status; } /** * @return \Temando\Shipping\Rest\Response\Fields\Generic\Shipment\Error[] */ public function getErrors() { return $this->errors; } /** * @param \Temando\Shipping\Rest\Response\Fields\Generic\Shipment\Error[] $errors * @return void */ public function setErrors(array $errors) { $this->errors = $errors; } }