Documentation

getRestrictedIds

array public static
\Bitrix\Sale\Delivery\Restrictions\Manager::getRestrictedIds(
 \Bitrix\Sale\Shipment|null $shipment = null,
 integer $restrictionMode
);

Method returns delivery service IDs limited by restrictions. Static method.

Parameters

ParameterDescriptionVersion
$shipmentObject \Bitrix\Sale\Shipment.
$restrictionModeRestriction mode.

Exception

  • \Bitrix\Main\ArgumentException
  • \Bitrix\Main\SystemException

Example



© «Bitrix24», 2001-2024
Up