Documentation

create

static public static
\Bitrix\Sale\Shipment::create(
	\Bitrix\Sale\ShipmentCollection $collection,
	\Bitrix\Sale\Delivery\Services\Base $deliveryService = null
);

Method creates a shipment object and associates collection to it. Static method.

Parameter

ParameterDescriptionVersion
$collectionCollection of shipments associated with shipment.
$deliveryServiceDelivery service object (null by default). Optional

Example



© «Bitrix24», 2001-2024
Up