Your IP : 3.144.10.220


Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/sale/lib/exchange/
Upload File :
Current File : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/sale/lib/exchange/isettings.php

<?php
namespace Bitrix\Sale\Exchange;

interface ISettings
{
	public static function getCurrent();

	/**
	 * @return string
	 */
	public function prefixFor($typeId);
}

interface ISettingsExport extends ISettings
{
	/**
	 * @return string
	 */
	public function getSiteId();

	/**
	 * @return string
	 */
	public function getReplaceCurrency();

	/**
	 * @param $entityTypeId
	 * @return string
	 */
	public function groupPermissionFor($entityTypeId);

	/**
	 * @param $entityTypeId
	 * @return string
	 */
	public function finalStatusFor($entityTypeId);

	/**
	 * @param $entityTypeId
	 * @return string
	 */
	public function payedFor($entityTypeId);

	/**
	 * @param $entityTypeId
	 * @return string
	 */
	public function allowDeliveryFor($entityTypeId);
}

interface ISettingsImport extends ISettings
{
    /**
     * @param $entityTypeId
     * @return bool
     */
    public function isImportableFor($entityTypeId);

    /**
     * @param $entityTypeId
     * @return int
     */
    public function paySystemIdFor($entityTypeId);

    /**
     * @param $entityTypeId
     * @return int
     */
    public function shipmentServiceFor($entityTypeId);

    /**
     * @return string
     */
    public function getSiteId();

    /**
     * @return string
     */
    public function getCurrency();

    /**
	 * @return string
	 */
	public function canCreateOrder($typeId);

	/**
	 * @return string
	 */
	public function finalStatusIdFor($typeId);

	/**
	 * @return string
	 */
	public function finalStatusOnDeliveryFor($typeId);

	/**
	 * @return string
	 */
	public function changeStatusFor($typeId);
}