2021-05-31 16:33:02 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @category Integration
|
2024-04-29 11:44:31 +03:00
|
|
|
* @package Intaro\RetailCrm\Model\Bitrix\Xml
|
2021-05-31 16:33:02 +03:00
|
|
|
* @author RetailCRM <integration@retailcrm.ru>
|
|
|
|
* @license MIT
|
|
|
|
* @link http://retailcrm.ru
|
|
|
|
* @see http://retailcrm.ru/docs
|
|
|
|
*/
|
|
|
|
namespace Intaro\RetailCrm\Model\Bitrix\Xml;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class XmlSetupProps
|
|
|
|
*
|
|
|
|
* @package Intaro\RetailCrm\Model\Bitrix\Xml
|
|
|
|
*/
|
|
|
|
class XmlSetupProps
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* XmlSetupProps constructor.
|
|
|
|
* @param array $names
|
|
|
|
* @param array $units
|
|
|
|
* @param array|null $pictures
|
|
|
|
*/
|
|
|
|
public function __construct(array $names, array $units, ?array $pictures)
|
|
|
|
{
|
|
|
|
$this->names = $names;
|
|
|
|
$this->units = $units;
|
|
|
|
$this->pictures = $pictures;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* названия свойств
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $names;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* меры измерения
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $units;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* свойства, из которых нужно брать картинки
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $pictures;
|
|
|
|
}
|