Documentation

setCalculateShipments

void public
\Bitrix\Sale\Discount::setCalculateShipments(
 \Bitrix\Sale\Shipment $shipment = null
);

Method sets shipment for calculations. Non-static method.

Parameters

ParameterDescriptionVersion
$shipmentCurrent shipment.

Example



© «Bitrix24», 2001-2024
Up