1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CompatibleFormat

Открытые статические члены

static createResultDescription ($newPrice, $oldPrice, $currency)
static getStepResult (array $currentOrder, array $oldOrder)
static getDiscountDescription (array $stepResult)

Подробное описание

См. определение в файле compatibleformat.php строка 9

Методы

◆ createResultDescription()

createResultDescription ( $newPrice,
$oldPrice,
$currency )
static

Create simple description for unknown discount.

Аргументы
float$newPriceNew price.
float$oldPriceOld price.
string$currencyCurrency.
Возвращает
array

См. определение в файле compatibleformat.php строка 19

◆ getDiscountDescription()

getDiscountDescription ( array $stepResult)
static

Returns description for old discount.

Аргументы
array$stepResultAction results.
Возвращает
array

См. определение в файле compatibleformat.php строка 107

◆ getStepResult()

getStepResult ( array $currentOrder,
array $oldOrder )
static

Returns result after apply one discount in old format.

Аргументы
array$currentOrderCurrent order data.
array$oldOrderOld order data.
Возвращает
array

См. определение в файле compatibleformat.php строка 45


Объявления и описания членов класса находятся в файле: