Documentation

check

 public static
\Bitrix\Sale\Delivery\Restrictions\ByLocation::check(
integer $locationCode, 
array $restrictionParams, 
integer $deliveryId = 0
);

Method checks if a delivery service is suitable for specific location. Static method.

Parameters

ParameterDescriptionVersion
$locationCodeLocation code.
$restrictionParamsRestriction parameters.
$deliveryIdDelivery ID.

Example



© «Bitrix24», 2001-2024
Up