2020-07-14 13:47:26 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Class CustomerAddress
|
|
|
|
*/
|
|
|
|
class CustomerAddress extends BaseModel
|
|
|
|
{
|
|
|
|
/**@var string $index */
|
|
|
|
protected $index;
|
|
|
|
|
|
|
|
/**@var string $country */
|
|
|
|
protected $country;
|
|
|
|
|
|
|
|
/**@var string $region */
|
|
|
|
protected $region;
|
|
|
|
|
|
|
|
/**@var string $city */
|
|
|
|
protected $city;
|
|
|
|
|
|
|
|
/**@var string $street */
|
|
|
|
protected $street;
|
|
|
|
|
|
|
|
/**@var string $building */
|
|
|
|
protected $building;
|
|
|
|
|
|
|
|
/**@var string $house */
|
|
|
|
protected $house;
|
|
|
|
|
|
|
|
/**@var string $block */
|
|
|
|
protected $block;
|
|
|
|
|
|
|
|
/**@var string $flat */
|
|
|
|
protected $flat;
|
|
|
|
|
|
|
|
/**@var string $floor */
|
|
|
|
protected $floor;
|
|
|
|
|
|
|
|
/**@var string $intercomCode */
|
|
|
|
protected $intercomCode;
|
|
|
|
|
|
|
|
/**@var string $metro */
|
|
|
|
protected $metro;
|
|
|
|
|
|
|
|
/**@var string $notes */
|
|
|
|
protected $notes;
|
|
|
|
|
|
|
|
/**@var string $text */
|
|
|
|
protected $text;
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $index
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setIndex($index)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->index = $index;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $country
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setCountry($country)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->country = $country;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $region
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setRegion($region)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->region = $region;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $city
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setCity($city)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->city = $city;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $street
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setStreet($street)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->street = $street;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $building
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setBuilding($building)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->building = $building;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $house
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setHouse($house)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->house = $house;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $block
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setBlock($block)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->block = $block;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $flat
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setFlat($flat)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->flat = $flat;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $floor
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-05 14:57:04 +03:00
|
|
|
public function setFloor(string $floor)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->floor = $floor;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $intercomCode
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setIntercomCode($intercomCode)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->intercomCode = $intercomCode;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $metro
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setMetro($metro)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->metro = $metro;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $notes
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setNotes($notes)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->notes = $notes;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
2021-03-23 14:36:48 +03:00
|
|
|
|
2020-07-14 13:47:26 +03:00
|
|
|
/**
|
|
|
|
* @param string $text
|
|
|
|
* @return $this
|
|
|
|
*/
|
2021-04-06 16:23:38 +03:00
|
|
|
public function setText($text)
|
2020-07-14 13:47:26 +03:00
|
|
|
{
|
|
|
|
$this->text = $text;
|
|
|
|
|
|
|
|
return $this;
|
|
|
|
}
|
|
|
|
}
|