void public \Bitrix\Sale\Discount::setCalculateShipments( \Bitrix\Sale\Shipment $shipment = null );
Method sets shipment for calculations. Non-static method.