1
0
mirror of synced 2025-01-09 18:47:12 +03:00
DeliveryModuleBundle/Model/Response/ResponseSave.php

71 lines
1.6 KiB
PHP
Raw Normal View History

2019-12-26 17:47:33 +03:00
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Constraints as Assert;
use JMS\Serializer\Annotation as Serializer;
use Intaro\CRMDeliveryBundle\Delivery\Generic\Generic;
class ResponseSave
{
/**
* Идентификатор доставки в службе доставки
* @var string
*
* @Serializer\Groups({"response"})
* @Serializer\SerializedName("deliveryId")
* @Serializer\Type("string")
*/
public $deliveryId;
/**
* Трек номер
* @var string
*
* @Serializer\Groups({"response"})
* @Serializer\SerializedName("trackNumber")
* @Serializer\Type("string")
*/
public $trackNumber;
/**
* Стоимость доставки
* @var float
*
* @Serializer\Groups({"response"})
* @Serializer\SerializedName("cost")
* @Serializer\Type("float")
*/
public $cost;
/**
* Код статуса доставки
* @var string
*
* @Serializer\Groups({"response"})
* @Serializer\SerializedName("status")
* @Serializer\Type("string")
*/
public $status;
/**
* Дополнительные данные доставки
* @var string
*
* @Serializer\Groups({"response"})
* @Serializer\SerializedName("extraData")
* @Serializer\Type("array")
*/
public $extraData;
public $additionalData;
public function __construct()
{
$this->extraData = [];
$this->additionalData = [];
}
}