Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions Models/City.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
17 changes: 17 additions & 0 deletions Models/CourierDeliveryShort.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ class CourierDeliveryShort extends AbstractModel
*/
protected $area = null;

/**
* @var ?float
*/
protected $deliveryPeriod = null;

/**
* @return string
*/
Expand Down Expand Up @@ -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;
}

}