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