97 lines
2.1 KiB
PHP
97 lines
2.1 KiB
PHP
<?php
|
|
|
|
namespace RetailCrm\DeliveryModuleBundle\Model;
|
|
|
|
use JMS\Serializer\Annotation as Serializer;
|
|
|
|
class Terminal
|
|
{
|
|
/**
|
|
* Код терминала.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "response"})
|
|
* @Serializer\SerializedName("code")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $code;
|
|
|
|
/**
|
|
* Стоимость доставки до терминала, если она отличается от стоимости в целом по тарифу.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"response"})
|
|
* @Serializer\SerializedName("cost")
|
|
* @Serializer\Type("float")
|
|
*/
|
|
public $cost;
|
|
|
|
/**
|
|
* Наименование терминала.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "response"})
|
|
* @Serializer\SerializedName("name")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $name;
|
|
|
|
/**
|
|
* Адрес
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "response"})
|
|
* @Serializer\SerializedName("address")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $address;
|
|
|
|
/**
|
|
* Режим работы.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "response"})
|
|
* @Serializer\SerializedName("schedule")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $schedule;
|
|
|
|
/**
|
|
* Телефон.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "response"})
|
|
* @Serializer\SerializedName("phone")
|
|
* @Serializer\Type("string")
|
|
*/
|
|
public $phone;
|
|
|
|
/**
|
|
* Дополнительные данные.
|
|
*
|
|
* @var string
|
|
*
|
|
* @Serializer\Groups({"get", "response"})
|
|
* @Serializer\SerializedName("extraData")
|
|
* @Serializer\Type("array")
|
|
*/
|
|
public $extraData;
|
|
|
|
/**
|
|
* Координаты.
|
|
*
|
|
* @var Coordinates
|
|
*
|
|
* @Serializer\Groups({"get", "response"})
|
|
* @Serializer\SerializedName("coordinates")
|
|
* @Serializer\Type("RetailCrm\DeliveryModuleBundle\Model\Coordinates")
|
|
*/
|
|
public $coordinates;
|
|
}
|