From 49321237df62b88dbc4adffd9ae67a9159973546 Mon Sep 17 00:00:00 2001 From: Pereyaslov Konstantin Date: Tue, 9 Dec 2014 09:12:40 +0300 Subject: [PATCH] Added common setters and getters to RateAdapter for: -shipment -isProduction --- src/RateAdapter.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/RateAdapter.php b/src/RateAdapter.php index b4b5995..4bf3a5b 100644 --- a/src/RateAdapter.php +++ b/src/RateAdapter.php @@ -48,6 +48,26 @@ abstract class RateAdapter $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() { $this