1
0
mirror of synced 2025-01-08 10:27:09 +03:00
DeliveryModuleBundle/Model/RequestStatusUpdateItem.php
2020-02-19 19:00:09 +03:00

54 lines
1.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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