123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Sales\Model\Order\Shipment;
- use Magento\Sales\Api\Data\ShipmentTrackCreationInterface;
- /**
- * Class TrackCreation
- */
- class TrackCreation implements ShipmentTrackCreationInterface
- {
- /**
- * @var string
- */
- private $trackNumber;
- /**
- * @var string
- */
- private $title;
- /**
- * @var string
- */
- private $carrierCode;
- /**
- * @var \Magento\Sales\Api\Data\ShipmentTrackCreationExtensionInterface
- */
- private $extensionAttributes;
- //@codeCoverageIgnoreStart
- /**
- * {@inheritdoc}
- */
- public function getTrackNumber()
- {
- return $this->trackNumber;
- }
- /**
- * {@inheritdoc}
- */
- public function setTrackNumber($trackNumber)
- {
- $this->trackNumber = $trackNumber;
- return $this;
- }
- /**
- * {@inheritdoc}
- */
- public function getTitle()
- {
- return $this->title;
- }
- /**
- * {@inheritdoc}
- */
- public function setTitle($title)
- {
- $this->title = $title;
- return $this;
- }
- /**
- * {@inheritdoc}
- */
- public function getCarrierCode()
- {
- return $this->carrierCode;
- }
- /**
- * {@inheritdoc}
- */
- public function setCarrierCode($carrierCode)
- {
- $this->carrierCode = $carrierCode;
- return $this;
- }
- /**
- * {@inheritdoc}
- */
- public function getExtensionAttributes()
- {
- return $this->extensionAttributes;
- }
- /**
- * {@inheritdoc}
- */
- public function setExtensionAttributes(
- \Magento\Sales\Api\Data\ShipmentTrackCreationExtensionInterface $extensionAttributes
- ) {
- $this->extensionAttributes = $extensionAttributes;
- return $this;
- }
- //@codeCoverageIgnoreEnd
- }
|