Метод calculate
Сигнатура метода
public function calculate(array $productRows, string $currencyId, int $personTypeId, ?string $locationId = null): ?array
Возвращает:
?array
Описание
Calculates total sums based on current tax mode and provided data.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$productRows
|
array
|
—
|
—
|
$currencyId
|
string
|
—
|
—
|
$personTypeId
|
int
|
—
|
—
|
$locationId
|
?string
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/Service/Accounting.php
Расположение метода в файле
Строки
168–195