Documentation

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

ParameterDescriptionVersion
$collectionCollection of payments, associated to partial payment.
$paySystemPayment system object (null by default). Optional.

Example



© «Bitrix24», 2001-2024
Up