You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ShippingRates/src/Package.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;
}
}