123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Rest\Response\Fields\Generic;
- /**
- * Temando API Dimensions 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 Dimensions
- {
- /**
- * @var float
- */
- private $length;
- /**
- * @var float
- */
- private $width;
- /**
- * @var float
- */
- private $height;
- /**
- * @var string
- */
- private $unit;
- /**
- * @return float
- */
- public function getLength()
- {
- return $this->length;
- }
- /**
- * @param float $length
- * @return void
- */
- public function setLength($length)
- {
- $this->length = $length;
- }
- /**
- * @return float
- */
- public function getWidth()
- {
- return $this->width;
- }
- /**
- * @param float $width
- * @return void
- */
- public function setWidth($width)
- {
- $this->width = $width;
- }
- /**
- * @return float
- */
- public function getHeight()
- {
- return $this->height;
- }
- /**
- * @param float $height
- * @return void
- */
- public function setHeight($height)
- {
- $this->height = $height;
- }
- /**
- * @return string
- */
- public function getUnit()
- {
- return $this->unit;
- }
- /**
- * @param string $unit
- * @return void
- */
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
- }
|