1
0
mirror of synced 2025-01-27 02:31:40 +03:00
DeliveryModuleBundle/Model/Request/RequestStatusUpdateItem.php

59 lines
1.3 KiB
PHP
Raw Normal View History

2019-12-26 17:47:33 +03:00
<?php
2020-09-08 16:27:37 +03:00
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
2019-12-26 17:47:33 +03:00
use JMS\Serializer\Annotation as Serializer;
2020-09-08 16:27:37 +03:00
use RetailCrm\DeliveryModuleBundle\Model\StatusInfo;
2019-12-26 17:47:33 +03:00
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 = [];
}
}