123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?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 Group 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 Group
- {
- /**
- * @var string
- */
- private $ref;
- /**
- * @var string
- */
- private $manifestReference;
- /**
- * @var string
- */
- private $pickupReference;
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\Completion\Group\Charge[]
- */
- private $charges = [];
- /**
- * @var string
- */
- private $integrationId;
- /**
- * @var string
- */
- private $carrierName;
- /**
- * @var string
- */
- private $carrierMessage;
- /**
- * @var string
- */
- private $originId;
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\Generic\Documentation[]
- */
- private $documentation = [];
- /**
- * @return string
- */
- public function getRef()
- {
- return $this->ref;
- }
- /**
- * @param string $ref
- * @return void
- */
- public function setRef($ref)
- {
- $this->ref = $ref;
- }
- /**
- * @return string
- */
- public function getManifestReference()
- {
- return $this->manifestReference;
- }
- /**
- * @param string $manifestReference
- * @return void
- */
- public function setManifestReference($manifestReference)
- {
- $this->manifestReference = $manifestReference;
- }
- /**
- * @return string
- */
- public function getPickupReference()
- {
- return $this->pickupReference;
- }
- /**
- * @param string $pickupReference
- * @return void
- */
- public function setPickupReference($pickupReference)
- {
- $this->pickupReference = $pickupReference;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\Completion\Group\Charge[]
- */
- public function getCharges()
- {
- return $this->charges;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\Completion\Group\Charge[] $charges
- * @return void
- */
- public function setCharges(array $charges)
- {
- $this->charges = $charges;
- }
- /**
- * @return string
- */
- public function getIntegrationId()
- {
- return $this->integrationId;
- }
- /**
- * @param string $integrationId
- * @return void
- */
- public function setIntegrationId($integrationId)
- {
- $this->integrationId = $integrationId;
- }
- /**
- * @return string
- */
- public function getCarrierName()
- {
- return $this->carrierName;
- }
- /**
- * @param string $carrierName
- * @return void
- */
- public function setCarrierName($carrierName)
- {
- $this->carrierName = $carrierName;
- }
- /**
- * @return string
- */
- public function getCarrierMessage()
- {
- return $this->carrierMessage;
- }
- /**
- * @param string $carrierMessage
- * @return void
- */
- public function setCarrierMessage($carrierMessage)
- {
- $this->carrierMessage = $carrierMessage;
- }
- /**
- * @return string
- */
- public function getOriginId()
- {
- return $this->originId;
- }
- /**
- * @param string $originId
- * @return void
- */
- public function setOriginId($originId)
- {
- $this->originId = $originId;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\Generic\Documentation[]
- */
- public function getDocumentation()
- {
- return $this->documentation;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\Generic\Documentation[] $documentation
- * @return void
- */
- public function setDocumentation($documentation)
- {
- $this->documentation = $documentation;
- }
- }
|