Added common setters and getters to RateAdapter for:

-shipment
-isProduction
This commit is contained in:
Pereyaslov Konstantin 2014-12-09 09:12:40 +03:00
parent dfd9f50c8f
commit 49321237df

View File

@ -48,6 +48,26 @@ abstract class RateAdapter
$this->rateRequest = $rateRequest; $this->rateRequest = $rateRequest;
} }
public function setShipment($shipment)
{
$this->shipment = $shipment;
}
public function getShipment()
{
return $this->shipment;
}
public function setIsProduction($isProduction)
{
$this->isProduction = $isProduction;
}
public function getIsProduction()
{
return $this->isProduction;
}
public function getRates() public function getRates()
{ {
$this $this