251 lines
5.4 KiB
PHP
251 lines
5.4 KiB
PHP
<?php
|
|
|
|
namespace RetailCrm\DeliveryModuleBundle\Model;
|
|
|
|
use JMS\Serializer\Annotation as Serializer;
|
|
|
|
class DeliveryAddress
|
|
{
|
|
/**
|
|
* Почтовый индекс
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("index")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $index;
|
|
|
|
/**
|
|
* ISO код страны (ISO 3166-1 alpha-2).
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("countryIso")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $country;
|
|
|
|
/**
|
|
* Область/край.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("region")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $region;
|
|
|
|
/**
|
|
* Идентификатор региона в Geohelper.
|
|
*
|
|
* @var int
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("regionId")
|
|
* @Serializer\Type("integer")
|
|
*/
|
|
public $regionId;
|
|
|
|
/**
|
|
* Город.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("city")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $city;
|
|
|
|
/**
|
|
* Идентификатор города в Geohelper.
|
|
*
|
|
* @var int
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("cityId")
|
|
* @Serializer\Type("integer")
|
|
*/
|
|
public $cityId;
|
|
|
|
/**
|
|
* Тип населенного пункта.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("cityType")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $cityType;
|
|
|
|
/**
|
|
* Название улицы, шоссе, проспекта, проезда.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("street")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $street;
|
|
|
|
/**
|
|
* Идентификатор улицы в Geohelper.
|
|
*
|
|
* @var int
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("streetId")
|
|
* @Serializer\Type("integer")
|
|
*/
|
|
public $streetId;
|
|
|
|
/**
|
|
* Тип улицы.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("streetType")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $streetType;
|
|
|
|
/**
|
|
* Дом
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("building")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $building;
|
|
|
|
/**
|
|
* Номер квартиры или офиса.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("flat")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $flat;
|
|
|
|
/**
|
|
* Код домофона.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("intercomCode")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $intercomCode;
|
|
|
|
/**
|
|
* Этаж.
|
|
*
|
|
* @var int
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("floor")
|
|
* @Serializer\Type("integer")
|
|
*/
|
|
public $floor;
|
|
|
|
/**
|
|
* Подъезд.
|
|
*
|
|
* @var int
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("block")
|
|
* @Serializer\Type("integer")
|
|
*/
|
|
public $block;
|
|
|
|
/**
|
|
* Строение.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("house")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $house;
|
|
|
|
/**
|
|
* Корпус
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("housing")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $housing;
|
|
|
|
/**
|
|
* Метро.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("metro")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $metro;
|
|
|
|
/**
|
|
* Дополнительные заметки.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("notes")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $notes;
|
|
|
|
/**
|
|
* Адрес в виде строки.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "set", "response"})
|
|
* @Serializer\SerializedName("text")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $text;
|
|
|
|
/**
|
|
* Код терминала отгрузки/доставки.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "request", "response"})
|
|
* @Serializer\SerializedName("terminal")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $terminal;
|
|
|
|
/**
|
|
* Данные терминала.
|
|
*
|
|
* @var Terminal
|
|
*
|
|
* @Serializer\Groups({"response"})
|
|
* @Serializer\SerializedName("terminalData")
|
|
* @Serializer\Type("RetailCrm\DeliveryModuleBundle\Model\Terminal")
|
|
*/
|
|
public $terminalData;
|
|
}
|