• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/delivery/restrictions/excludelocation.php
  • Класс: BitrixSaleDeliveryRestrictionsExcludeLocation
  • Вызов: ExcludeLocation::getParamsStructure
static function getParamsStructure($deliveryId = 0)
{
	$result =  array(
		"LOCATION" => array(
			"TYPE" => "LOCATION_MULTI_EXCLUDE"
		)
	);

	if($deliveryId > 0 )
	{
		$result["LOCATION"]["DELIVERY_ID"] = $deliveryId;
	}

	return $result;
}