Fix model namespaces
This commit is contained in:
parent
4ea5933758
commit
5eb8487019
@ -11,7 +11,7 @@ class RequestCalculate
|
||||
/**
|
||||
* Адрес отгрузки.
|
||||
*
|
||||
* @var RetailCrm\DeliveryModuleBundle\Model\DeliveryAddress
|
||||
* @var DeliveryAddress
|
||||
*
|
||||
* @Serializer\Groups({"request", "calculate"})
|
||||
* @Serializer\SerializedName("shipmentAddress")
|
||||
@ -33,7 +33,7 @@ class RequestCalculate
|
||||
/**
|
||||
* Набор упаковок.
|
||||
*
|
||||
* @var RetailCrm\DeliveryModuleBundle\Model\Package[]
|
||||
* @var Package[]
|
||||
*
|
||||
* @Serializer\Groups({"request", "calculate"})
|
||||
* @Serializer\SerializedName("packages")
|
||||
|
@ -50,7 +50,7 @@ class ResponseLoadDeliveryData
|
||||
|
||||
/**
|
||||
* Время доставки
|
||||
* @var RetailCrm\DeliveryModuleBundle\Model\DeliveryTime
|
||||
* @var DeliveryTime
|
||||
*
|
||||
* @Serializer\Groups({"response"})
|
||||
* @Serializer\SerializedName("deliveryTime")
|
||||
|
@ -3,7 +3,6 @@
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Settings\ExtraData;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Settings\PaymentType;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Settings\ShipmentPoint;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Settings\Status;
|
||||
@ -77,7 +76,7 @@ class Settings
|
||||
public $statuses;
|
||||
|
||||
/**
|
||||
* @var array|ExtraData[]
|
||||
* @var array
|
||||
*
|
||||
* @Serializer\Groups({"set", "get"})
|
||||
* @Serializer\SerializedName("deliveryExtraData")
|
||||
@ -86,7 +85,7 @@ class Settings
|
||||
public $deliveryExtraData;
|
||||
|
||||
/**
|
||||
* @var array|ExtraData[]
|
||||
* @var array
|
||||
*
|
||||
* @Serializer\Groups({"set", "get"})
|
||||
* @Serializer\SerializedName("shipmentExtraData")
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
class Unit
|
||||
{
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user