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
Parameter | Description | Version |
---|---|---|
$shipment | Instance of class \Bitrix\Sale\Shipment. | |
$deliveryId | Delivery service ID. Optional. | |
$extraServices | Array with additional service parameters. Optional. |
Exception
Example
© «Bitrix24», 2001-2024