123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Rest\Response\Fields\Completion;
- /**
- * Temando API Completion Shipment Field
- *
- * @package Temando\Shipping\Rest
- * @author Christoph Aßmann <christoph.assmann@netresearch.de>
- * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- * @link https://www.temando.com/
- */
- class Shipment
- {
- /**
- * @var string
- */
- private $id;
- /**
- * @var string
- */
- private $status;
- /**
- * @var string
- */
- private $message;
- /**
- * @var bool
- */
- private $isPaperless;
- /**
- * @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 string
- */
- public function getMessage()
- {
- return $this->message;
- }
- /**
- * @param string $message
- * @return void
- */
- public function setMessage($message)
- {
- $this->message = $message;
- }
- /**
- * @return bool
- */
- public function getIsPaperless()
- {
- return $this->isPaperless;
- }
- /**
- * @param bool $isPaperless
- * @return void
- */
- public function setIsPaperless($isPaperless)
- {
- $this->isPaperless = $isPaperless;
- }
- /**
- * @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;
- }
- }
|