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
Parameter | Description | Version |
---|---|---|
$collection | Collection of shipments associated with shipment. | |
$deliveryService | Delivery service object (null by default). Optional |
Example
© «Bitrix24», 2001-2024