2019-12-26 17:47:33 +03:00
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace RetailCrm\DeliveryModuleBundle\Model;
|
|
|
|
|
|
|
|
|
|
use JMS\Serializer\Annotation as Serializer;
|
|
|
|
|
|
|
|
|
|
class RequestStatusUpdateItem
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Идентификатор доставки с СД
|
2020-08-18 17:39:55 +03:00
|
|
|
|
*
|
2019-12-26 17:47:33 +03:00
|
|
|
|
* @var string
|
|
|
|
|
*
|
|
|
|
|
* @Serializer\Groups({"request"})
|
|
|
|
|
* @Serializer\SerializedName("deliveryId")
|
|
|
|
|
* @Serializer\Type("string")
|
|
|
|
|
*/
|
|
|
|
|
public $deliveryId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Трек номер
|
2020-08-18 17:39:55 +03:00
|
|
|
|
*
|
2019-12-26 17:47:33 +03:00
|
|
|
|
* @var string
|
|
|
|
|
*
|
|
|
|
|
* @Serializer\Groups({"request"})
|
|
|
|
|
* @Serializer\SerializedName("trackNumber")
|
|
|
|
|
* @Serializer\Type("string")
|
|
|
|
|
*/
|
|
|
|
|
public $trackNumber;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* История смены статусов доставки
|
2020-08-18 17:39:55 +03:00
|
|
|
|
*
|
2019-12-26 17:47:33 +03:00
|
|
|
|
* @var StatusInfo[]
|
|
|
|
|
*
|
|
|
|
|
* @Serializer\Groups({"request"})
|
|
|
|
|
* @Serializer\SerializedName("history")
|
|
|
|
|
* @Serializer\Type("array<RetailCrm\DeliveryModuleBundle\Model\StatusInfo>")
|
|
|
|
|
*/
|
|
|
|
|
public $history;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Массив дополнительных данных доставки
|
2020-08-18 17:39:55 +03:00
|
|
|
|
*
|
2019-12-26 17:47:33 +03:00
|
|
|
|
* @var array
|
|
|
|
|
*
|
|
|
|
|
* @Serializer\Groups({"request"})
|
|
|
|
|
* @Serializer\SerializedName("extraData")
|
|
|
|
|
* @Serializer\Type("array")
|
|
|
|
|
*/
|
|
|
|
|
public $extraData;
|
|
|
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
|
{
|
|
|
|
|
$this->history = [];
|
|
|
|
|
}
|
|
|
|
|
}
|