* @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; } }