123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Rest\Response\Fields\Batch;
- /**
- * Temando API Batch Shipment Field
- *
- * @package Temando\Batch\Rest
- * @author Rhodri Davies <rhodri.davies@temando.com>
- * @author Benjamin Heuer <benjamin.heuer@netresearch.de>
- * @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;
- }
- }
|