create
\Bitrix\Sale\Order public static \Bitrix\Sale\OrderBase::create( $siteId, null $userId = null, null $currency = null );
Method creates an order object. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$siteId | Site ID. | |
$userId | User ID. Default value null . Optional. | |
$currency | Currency. Default value null . Optional. |
Example
© «Bitrix24», 2001-2024