123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Rest\Response\Fields;
- /**
- * Temando API Completion Resource Object Attributes
- *
- * @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 CompletionAttributes
- {
- /**
- * @var string
- */
- private $status;
- /**
- * @var string
- */
- private $createdAt;
- /**
- * @var string
- */
- private $readyAt;
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\Completion\Shipment[]
- */
- private $shipments = [];
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\Completion\Group[]
- */
- private $groups = [];
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\Completion\Callback
- */
- private $callback;
- /**
- * @var int
- */
- private $totalShipments;
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\Completion\CustomAttributes
- */
- private $customAttributes;
- /**
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
- /**
- * @param string $status
- * @return void
- */
- public function setStatus($status)
- {
- $this->status = $status;
- }
- /**
- * @return string
- */
- public function getCreatedAt()
- {
- return $this->createdAt;
- }
- /**
- * @param string $createdAt
- * @return void
- */
- public function setCreatedAt($createdAt)
- {
- $this->createdAt = $createdAt;
- }
- /**
- * @return string
- */
- public function getReadyAt()
- {
- return $this->readyAt;
- }
- /**
- * @param string $readyAt
- * @return void
- */
- public function setReadyAt($readyAt)
- {
- $this->readyAt = $readyAt;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\Completion\Shipment[]
- */
- public function getShipments()
- {
- return $this->shipments;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\Completion\Shipment[] $shipments
- * @return void
- */
- public function setShipments(array $shipments)
- {
- $this->shipments = $shipments;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\Completion\Group[]
- */
- public function getGroups()
- {
- return $this->groups;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\Completion\Group[] $groups
- * @return void
- */
- public function setGroups(array $groups)
- {
- $this->groups = $groups;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\Completion\Callback
- */
- public function getCallback()
- {
- return $this->callback;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\Completion\Callback $callback
- * @return void
- */
- public function setCallback($callback)
- {
- $this->callback = $callback;
- }
- /**
- * @return int
- */
- public function getTotalShipments()
- {
- return $this->totalShipments;
- }
- /**
- * @param int $totalShipments
- * @return void
- */
- public function setTotalShipments($totalShipments)
- {
- $this->totalShipments = $totalShipments;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\Completion\CustomAttributes
- */
- public function getCustomAttributes()
- {
- return $this->customAttributes;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\Completion\CustomAttributes $customAttributes
- * @return void
- */
- public function setCustomAttributes($customAttributes)
- {
- $this->customAttributes = $customAttributes;
- }
- }
|