\Bitrix\Sale\PaymentCollection::getSum();
Method returns total about of all payments. Non-static method.
No parameters