Merge pull request #17 from IvanLutokhin/fix-model-namespaces
Fix model namespaces
This commit is contained in:
commit
aad7a0616a
@ -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")
|
||||||
|
@ -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")
|
||||||
|
@ -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")
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||||
|
|
||||||
|
use JMS\Serializer\Annotation as Serializer;
|
||||||
|
|
||||||
class Unit
|
class Unit
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user