src/Weight.php
<?php
namespace EsteIt\ShippingCalculator;
class Weight
{
protected $value;
protected $unit;
/**
* @param mixed $value
* @return $this
*/
public function setValue($value)
{
$this->value = $value;
return $this;
}
/**
* @return mixed
*/
public function getValue()
{
return $this->value;
}
/**
* @param mixed $unit
* @return $this
*/
public function setUnit($unit)
{
$this->unit = $unit;
return $this;
}
/**
* @return mixed
*/
public function getUnit()
{
return $this->unit;
}
}