82 lines
1.2 KiB
PHP
82 lines
1.2 KiB
PHP
|
<?php namespace pdt256\Shipping;
|
||
|
|
||
|
class Package
|
||
|
{
|
||
|
protected $weight;
|
||
|
protected $width;
|
||
|
protected $length;
|
||
|
protected $height;
|
||
|
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getWeight()
|
||
|
{
|
||
|
return $this->weight;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param mixed $weight
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setWeight($weight)
|
||
|
{
|
||
|
$this->weight = $weight;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getWidth()
|
||
|
{
|
||
|
return $this->width;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param mixed $width
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setWidth($width)
|
||
|
{
|
||
|
$this->width = $width;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getLength()
|
||
|
{
|
||
|
return $this->length;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param mixed $length
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setLength($length)
|
||
|
{
|
||
|
$this->length = $length;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function getHeight()
|
||
|
{
|
||
|
return $this->height;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param mixed $height
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setHeight($height)
|
||
|
{
|
||
|
$this->height = $height;
|
||
|
return $this;
|
||
|
}
|
||
|
}
|