diff --git a/Models/City.php b/Models/City.php index 84e8e6e..9414363 100644 --- a/Models/City.php +++ b/Models/City.php @@ -31,6 +31,71 @@ class City extends AbstractModel */ protected $code = null; + /** + * @var int + */ + protected $receptionLaP; + + /** + * @var int + */ + protected $deliveryLaP; + + /** + * @var int + */ + protected $reception; + + /** + * @var int + */ + protected $foreignReceptionReturns; + + /** + * @var int + */ + protected $terminal; + + /** + * @var string + */ + protected $kladr; + + /** + * @var string + */ + protected $countryCode; + + /** + * @var string + */ + protected $uniqName; + + /** + * @var string + */ + protected $district; + + /** + * @var string + */ + protected $prefix; + + /** + * @var int + */ + protected $courierReception; + + /** + * @var int + */ + protected $courierDelivery; + + /** + * @var + */ + protected $pickupPoint; + /** * @return string */ diff --git a/Models/CourierDeliveryShort.php b/Models/CourierDeliveryShort.php index ce5ba30..6bc71fc 100644 --- a/Models/CourierDeliveryShort.php +++ b/Models/CourierDeliveryShort.php @@ -35,6 +35,11 @@ class CourierDeliveryShort extends AbstractModel */ protected $area = null; + /** + * @var ?float + */ + protected $deliveryPeriod = null; + /** * @return string */ @@ -83,4 +88,16 @@ public function setArea($area) $this->area = $area; } + public function setDeliveryPeriod($deliveryPeriod) { + if(!is_numeric($deliveryPeriod)) { + $this->deliveryPeriod = null; + } else { + $this->deliveryPeriod = floatval($deliveryPeriod); + } + } + + public function getDeliveryPeriod() { + return $this->deliveryPeriod; + } + } \ No newline at end of file