Merge pull request #7 from gridnevalex/fix_namespaces
Fix Request/Response namespaces
This commit is contained in:
commit
db7221f232
@ -1,13 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||
|
||||
use Intaro\CRMBundle\Entity\Model\DeliveryTime;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\DeliveryTime;
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Traits\ExtraDataTrait;
|
||||
|
||||
class RequestCalculate
|
||||
{
|
||||
use Traits\ExtraDataTrait;
|
||||
use ExtraDataTrait;
|
||||
|
||||
/**
|
||||
* Адрес отгрузки.
|
||||
@ -34,7 +35,7 @@ class RequestCalculate
|
||||
/**
|
||||
* Набор упаковок.
|
||||
*
|
||||
* @var Intaro\CRMDeliveryBundle\Form\Model\Package[]
|
||||
* @var RetailCrm\DeliveryModuleBundle\Model\Package[]
|
||||
*
|
||||
* @Serializer\Groups({"request", "calculate"})
|
||||
* @Serializer\SerializedName("packages")
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||
|
||||
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Customer;
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Manager;
|
||||
|
||||
class RequestSave
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Traits\ExtraDataTrait;
|
||||
|
||||
class RequestShipmentSave
|
||||
{
|
||||
use Traits\ExtraDataTrait;
|
||||
use ExtraDataTrait;
|
||||
|
||||
/**
|
||||
* Идентификатор отгрузки в службе доставки. Передается если требуется отредактировать уже оформленную отгрузку
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\StatusInfo;
|
||||
|
||||
class RequestStatusUpdateItem
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\Terminal;
|
||||
|
||||
class ResponseCalculate
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\DeliveryAddress;
|
||||
use RetailCrm\DeliveryModuleBundle\Model\StatusInfo;
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
class ResponseLoadDeliveryData
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
class ResponseResult
|
||||
{
|
||||
|
@ -1,13 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
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
|
||||
{
|
||||
/**
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model;
|
||||
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
|
||||
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user