create
\Bitrix\Sale\ShipmentItem::create( \Bitrix\Sale\ShipmentItemCollection $collection, \Bitrix\Sale\BasketItem $basketItem = null );
Method creates a shipment item and associates a collection to it. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$collection | Collection of shipments. | |
$basketItem | Product (null by default). Optional. |
Example
© «Bitrix24», 2001-2024
Up