204 lines
3.3 KiB
PHP
204 lines
3.3 KiB
PHP
<?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;
|
|
|
|
/**
|
|
* @param string $index
|
|
* @return $this
|
|
*/
|
|
public function setIndex($index)
|
|
{
|
|
$this->index = $index;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $country
|
|
* @return $this
|
|
*/
|
|
public function setCountry($country)
|
|
{
|
|
$this->country = $country;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $region
|
|
* @return $this
|
|
*/
|
|
public function setRegion($region)
|
|
{
|
|
$this->region = $region;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $city
|
|
* @return $this
|
|
*/
|
|
public function setCity($city)
|
|
{
|
|
$this->city = $city;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $street
|
|
* @return $this
|
|
*/
|
|
public function setStreet($street)
|
|
{
|
|
$this->street = $street;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $building
|
|
* @return $this
|
|
*/
|
|
public function setBuilding($building)
|
|
{
|
|
$this->building = $building;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $house
|
|
* @return $this
|
|
*/
|
|
public function setHouse($house)
|
|
{
|
|
$this->house = $house;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $block
|
|
* @return $this
|
|
*/
|
|
public function setBlock($block)
|
|
{
|
|
$this->block = $block;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $flat
|
|
* @return $this
|
|
*/
|
|
public function setFlat($flat)
|
|
{
|
|
$this->flat = $flat;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string|null $floor
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setFloor(?string $floor): CustomerAddress
|
|
{
|
|
$this->floor = $floor;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $intercomCode
|
|
* @return $this
|
|
*/
|
|
public function setIntercomCode($intercomCode)
|
|
{
|
|
$this->intercomCode = $intercomCode;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $metro
|
|
* @return $this
|
|
*/
|
|
public function setMetro($metro)
|
|
{
|
|
$this->metro = $metro;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $notes
|
|
* @return $this
|
|
*/
|
|
public function setNotes($notes)
|
|
{
|
|
$this->notes = $notes;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $text
|
|
* @return $this
|
|
*/
|
|
public function setText($text)
|
|
{
|
|
$this->text = $text;
|
|
|
|
return $this;
|
|
}
|
|
}
|