403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/yandex.market/lib/trading/entity/reference/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/yandex.market/lib/trading/entity/reference/store.php
<?php

namespace Yandex\Market\Trading\Entity\Reference;

use Yandex\Market;
use Bitrix\Main;

abstract class Store
{
	protected $environment;

	public function __construct(Environment $environment)
	{
		$this->environment = $environment;
	}

	/**
	 * ����� �������
	 *
	 * @param string|null $siteId
	 *
	 * @return array{ID: string, VALUE: string}[]
	 */
	public function getEnum($siteId = null)
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'getEnum');
	}

	/**
	 * ����� �� �������
	 *
	 * @return string[]
	 */
	public function getDefaults()
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'getDefaults');
	}

	/**
	 * ����� ����� ������
	 *
	 * @param string|null $siteId
	 *
	 * @return array{ID: string, VALUE: string}[]
	 */
	public function getFieldEnum($siteId = null)
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'getFieldEnum');
	}

	/**
	 * ���� �� ������� �� ������������ �������
	 *
	 * @return string
	 */
	public function getWarehouseDefaultField()
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'getWarehouseDefaultField');
	}

	/**
	 * ���� �� ������� �� ������������ ������� ����
	 *
	 * @return string
	 */
	public function getOutletDefaultField()
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'getOutletDefaultField');
	}

	/**
	 * ��� ��� �������
	 *
	 * @param string $field
	 *
	 * @return array<int, string>
	 */
	public function existsStores($field)
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'existsStores');
	}

	/**
	 * ��� ������� �� ��������������
	 *
	 * @param string $field
	 * @param int[] $ids
	 *
	 * @return array<int, string>
	 */
	public function mapStores($field, $ids)
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'mapStores');
	}

	/**
	 * ������������� ������� �� ����
	 *
	 * @param string $field
	 * @param string $value
	 *
	 * @return int[]|string[]
	 */
	public function findStores($field, $value)
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'findStores');
	}

	/**
	 * ������������� ������ �� ����
	 *
	 * @param string $field
	 * @param string $value
	 *
	 * @return int|string|null
	 */
	public function findStore($field, $value)
	{
		$stores = $this->findStores($field, $value);

		return !empty($stores) ? reset($stores) : null;
	}

	/**
	 * ������ �������� �������
	 *
	 * @param string[] $stores
	 * @param Main\Type\DateTime|null $date
	 * @param int|null $offset
	 * @param int $limit
	 *
	 * @return int[]
	 */
	public function getChanged($stores, Main\Type\DateTime $date = null, $offset = null, $limit = 500)
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'getChanged');
	}

	/**
	 * ������ ������ �� ������ ������
	 *
	 * @param string[] $stores
	 * @param int[] $productIds
	 *
	 * @return array{
	 *  ID: int,
	 *  QUANTITY: float|null,
	 *  QUANTITY_LIST: array<string, float>|null
	 * }[]
	 */
	public function getAmounts($stores, $productIds)
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'getAmounts');
	}

	/**
	 * ����������� ���������� ���������� ���������
	 *
	 * @param string[] $stores
	 * @param int[] $productIds
	 *
	 * @return array<int, array{AVAILABLE: float, TOTAL: ?float}>
	 */
	public function getTotal($stores, $productIds)
	{
		throw new Market\Exceptions\NotImplementedMethod(static::class, 'getAmounts');
	}

	/**
	 * @deprecated
	 *
	 * @param string[] $stores
	 * @param int[] $productIds
	 *
	 * @return array<int, float>
	 */
	public function getLimits($stores, $productIds)
	{
		return Market\Utils\ArrayHelper::column($this->getTotal($stores, $productIds), 'AVAILABLE');
	}

	/**
	 * ����� �� ������� �� ����������� ������
	 *
	 * @param int[] $productIds
	 * @param array<int, float[]>|null $quantities
	 * @param array $context
	 *
	 * @return array<int|string, array>
	 */
	public function getBasketData($productIds, $quantities = null, array $context = [])
	{
		return [];
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit