create
\Bitrix\Sale\Payment::create( \Bitrix\Sale\PaymentCollection $collection, \Bitrix\Sale\PaySystem\Service $paySystem = null );
Method creates a payment object and associates a collection to it. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$collection | Collection of payments, associated to partial payment. | |
$paySystem | Payment system object (null by default). Optional. |
Example
© «Bitrix24», 2001-2024
Up