Added common setters and getters to RateAdapter for:
-shipment -isProduction
This commit is contained in:
parent
dfd9f50c8f
commit
49321237df
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user