corrections for two namespaces
This commit is contained in:
parent
f2d9be5d4a
commit
fdc01456d2
61
src/Model/Entity/Store/ProductProperty.php
Normal file
61
src/Model/Entity/Store/ProductProperty.php
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP version 7.3
|
||||||
|
*
|
||||||
|
* @category ProductProperty
|
||||||
|
* @package RetailCrm\Api\Model\Entity\Store
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace RetailCrm\Api\Model\Entity\Store;
|
||||||
|
|
||||||
|
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class ProductProperty
|
||||||
|
*
|
||||||
|
* @category ProductProperty
|
||||||
|
* @package RetailCrm\Api\Model\Entity\Store
|
||||||
|
*/
|
||||||
|
class ProductProperty
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var string[]
|
||||||
|
*
|
||||||
|
* @JMS\Type("array<string>")
|
||||||
|
* @JMS\SerializedName("sites")
|
||||||
|
*/
|
||||||
|
public $sites;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \RetailCrm\Api\Model\Entity\Store\ProductPropertyGroup[]
|
||||||
|
*
|
||||||
|
* @JMS\Type("array<RetailCrm\Api\Model\Entity\Store\ProductPropertyGroup>")
|
||||||
|
* @JMS\SerializedName("groups")
|
||||||
|
*/
|
||||||
|
public $groups;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @JMS\Type("string")
|
||||||
|
* @JMS\SerializedName("code")
|
||||||
|
*/
|
||||||
|
public $code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @JMS\Type("string")
|
||||||
|
* @JMS\SerializedName("name")
|
||||||
|
*/
|
||||||
|
public $name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var bool
|
||||||
|
*
|
||||||
|
* @JMS\Type("bool")
|
||||||
|
* @JMS\SerializedName("isNumeric")
|
||||||
|
*/
|
||||||
|
public $isNumeric;
|
||||||
|
}
|
37
src/Model/Entity/Store/ProductPropertyGroup.php
Normal file
37
src/Model/Entity/Store/ProductPropertyGroup.php
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP version 7.3
|
||||||
|
*
|
||||||
|
* @category ProductPropertyGroup
|
||||||
|
* @package RetailCrm\Api\Model\Entity\Store
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace RetailCrm\Api\Model\Entity\Store;
|
||||||
|
|
||||||
|
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class ProductPropertyGroup
|
||||||
|
*
|
||||||
|
* @category ProductPropertyGroup
|
||||||
|
* @package RetailCrm\Api\Model\Entity\Store
|
||||||
|
*/
|
||||||
|
class ProductPropertyGroup
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var int
|
||||||
|
*
|
||||||
|
* @JMS\Type("int")
|
||||||
|
* @JMS\SerializedName("id")
|
||||||
|
*/
|
||||||
|
public $id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @JMS\Type("string")
|
||||||
|
* @JMS\SerializedName("name")
|
||||||
|
*/
|
||||||
|
public $name;
|
||||||
|
}
|
@ -9,53 +9,15 @@
|
|||||||
|
|
||||||
namespace RetailCrm\Api\Model\Filter\Store;
|
namespace RetailCrm\Api\Model\Filter\Store;
|
||||||
|
|
||||||
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
use RetailCrm\Api\Model\Entity\Store\ProductProperty as Base;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ProductProperty
|
* Class ProductProperty
|
||||||
*
|
*
|
||||||
* @category ProductProperty
|
* @category ProductProperty
|
||||||
* @package RetailCrm\Api\Model\Filter\Store
|
* @package RetailCrm\Api\Model\Filter\Store
|
||||||
|
* @deprecated Please use RetailCrm\Api\Model\Entity\Store\ProductProperty instead.
|
||||||
*/
|
*/
|
||||||
class ProductProperty
|
class ProductProperty extends Base
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var string[]
|
|
||||||
*
|
|
||||||
* @JMS\Type("array<string>")
|
|
||||||
* @JMS\SerializedName("sites")
|
|
||||||
*/
|
|
||||||
public $sites;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @var \RetailCrm\Api\Model\Filter\Store\ProductPropertyGroup[]
|
|
||||||
*
|
|
||||||
* @JMS\Type("array<RetailCrm\Api\Model\Filter\Store\ProductPropertyGroup>")
|
|
||||||
* @JMS\SerializedName("groups")
|
|
||||||
*/
|
|
||||||
public $groups;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string
|
|
||||||
*
|
|
||||||
* @JMS\Type("string")
|
|
||||||
* @JMS\SerializedName("code")
|
|
||||||
*/
|
|
||||||
public $code;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string
|
|
||||||
*
|
|
||||||
* @JMS\Type("string")
|
|
||||||
* @JMS\SerializedName("name")
|
|
||||||
*/
|
|
||||||
public $name;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @var bool
|
|
||||||
*
|
|
||||||
* @JMS\Type("bool")
|
|
||||||
* @JMS\SerializedName("isNumeric")
|
|
||||||
*/
|
|
||||||
public $isNumeric;
|
|
||||||
}
|
}
|
||||||
|
@ -9,29 +9,15 @@
|
|||||||
|
|
||||||
namespace RetailCrm\Api\Model\Filter\Store;
|
namespace RetailCrm\Api\Model\Filter\Store;
|
||||||
|
|
||||||
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
use RetailCrm\Api\Model\Entity\Store\ProductPropertyGroup as Base;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ProductPropertyGroup
|
* Class ProductPropertyGroup
|
||||||
*
|
*
|
||||||
* @category ProductPropertyGroup
|
* @category ProductPropertyGroup
|
||||||
* @package RetailCrm\Api\Model\Filter\Store
|
* @package RetailCrm\Api\Model\Filter\Store
|
||||||
|
* @deprecated Please use RetailCrm\Api\Model\Entity\Store\ProductPropertyGroup instead.
|
||||||
*/
|
*/
|
||||||
class ProductPropertyGroup
|
class ProductPropertyGroup extends Base
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var int
|
|
||||||
*
|
|
||||||
* @JMS\Type("int")
|
|
||||||
* @JMS\SerializedName("id")
|
|
||||||
*/
|
|
||||||
public $id;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string
|
|
||||||
*
|
|
||||||
* @JMS\Type("string")
|
|
||||||
* @JMS\SerializedName("name")
|
|
||||||
*/
|
|
||||||
public $name;
|
|
||||||
}
|
}
|
||||||
|
@ -21,9 +21,9 @@ use RetailCrm\Api\Model\Response\AbstractPaginatedResponse;
|
|||||||
class ProductPropertiesResponse extends AbstractPaginatedResponse
|
class ProductPropertiesResponse extends AbstractPaginatedResponse
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var \RetailCrm\Api\Model\Filter\Store\ProductProperty[]
|
* @var \RetailCrm\Api\Model\Entity\Store\ProductProperty[]
|
||||||
*
|
*
|
||||||
* @JMS\Type("array<RetailCrm\Api\Model\Filter\Store\ProductProperty>")
|
* @JMS\Type("array<RetailCrm\Api\Model\Entity\Store\ProductProperty>")
|
||||||
* @JMS\SerializedName("properties")
|
* @JMS\SerializedName("properties")
|
||||||
*/
|
*/
|
||||||
public $properties;
|
public $properties;
|
||||||
|
Loading…
Reference in New Issue
Block a user