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
Parameter | Description | Version |
---|---|---|
$locationCode | Location code. | |
$restrictionParams | Restriction parameters. | |
$deliveryId | Delivery ID. |
Example
© «Bitrix24», 2001-2024