1
0
mirror of synced 2025-01-26 10:11:41 +03:00

Fix model namespaces

This commit is contained in:
Ivan Lutokhin 2021-05-18 09:23:45 +03:00
parent 4ea5933758
commit 5eb8487019
4 changed files with 7 additions and 6 deletions

View File

@ -11,7 +11,7 @@ class RequestCalculate
/** /**
* Адрес отгрузки. * Адрес отгрузки.
* *
* @var RetailCrm\DeliveryModuleBundle\Model\DeliveryAddress * @var DeliveryAddress
* *
* @Serializer\Groups({"request", "calculate"}) * @Serializer\Groups({"request", "calculate"})
* @Serializer\SerializedName("shipmentAddress") * @Serializer\SerializedName("shipmentAddress")
@ -33,7 +33,7 @@ class RequestCalculate
/** /**
* Набор упаковок. * Набор упаковок.
* *
* @var RetailCrm\DeliveryModuleBundle\Model\Package[] * @var Package[]
* *
* @Serializer\Groups({"request", "calculate"}) * @Serializer\Groups({"request", "calculate"})
* @Serializer\SerializedName("packages") * @Serializer\SerializedName("packages")

View File

@ -50,7 +50,7 @@ class ResponseLoadDeliveryData
/** /**
* Время доставки * Время доставки
* @var RetailCrm\DeliveryModuleBundle\Model\DeliveryTime * @var DeliveryTime
* *
* @Serializer\Groups({"response"}) * @Serializer\Groups({"response"})
* @Serializer\SerializedName("deliveryTime") * @Serializer\SerializedName("deliveryTime")

View File

@ -3,7 +3,6 @@
namespace RetailCrm\DeliveryModuleBundle\Model; namespace RetailCrm\DeliveryModuleBundle\Model;
use JMS\Serializer\Annotation as Serializer; use JMS\Serializer\Annotation as Serializer;
use RetailCrm\DeliveryModuleBundle\Model\Settings\ExtraData;
use RetailCrm\DeliveryModuleBundle\Model\Settings\PaymentType; use RetailCrm\DeliveryModuleBundle\Model\Settings\PaymentType;
use RetailCrm\DeliveryModuleBundle\Model\Settings\ShipmentPoint; use RetailCrm\DeliveryModuleBundle\Model\Settings\ShipmentPoint;
use RetailCrm\DeliveryModuleBundle\Model\Settings\Status; use RetailCrm\DeliveryModuleBundle\Model\Settings\Status;
@ -77,7 +76,7 @@ class Settings
public $statuses; public $statuses;
/** /**
* @var array|ExtraData[] * @var array
* *
* @Serializer\Groups({"set", "get"}) * @Serializer\Groups({"set", "get"})
* @Serializer\SerializedName("deliveryExtraData") * @Serializer\SerializedName("deliveryExtraData")
@ -86,7 +85,7 @@ class Settings
public $deliveryExtraData; public $deliveryExtraData;
/** /**
* @var array|ExtraData[] * @var array
* *
* @Serializer\Groups({"set", "get"}) * @Serializer\Groups({"set", "get"})
* @Serializer\SerializedName("shipmentExtraData") * @Serializer\SerializedName("shipmentExtraData")

View File

@ -2,6 +2,8 @@
namespace RetailCrm\DeliveryModuleBundle\Model; namespace RetailCrm\DeliveryModuleBundle\Model;
use JMS\Serializer\Annotation as Serializer;
class Unit class Unit
{ {
/** /**