Documentation

calculateDeliveryPrice

\Bitrix\Sale\Delivery\CalculationResult public static
\Bitrix\Sale\Delivery\Services\Manager::calculateDeliveryPrice(
 \Bitrix\Sale\Shipment $shipment,
 integer $deliveryId,
 array $extraServices = array()
);

Method calculates delivery price. Static method.

Parameters

ParameterDescriptionVersion
$shipmentInstance of class \Bitrix\Sale\Shipment.
$deliveryIdDelivery service ID. Optional.
$extraServicesArray with additional service parameters. Optional.

Exception

Example



© «Bitrix24», 2001-2024
Up