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

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

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

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

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

Методы

◆ createResultDescription()

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

Create simple description for unknown discount.

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

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

◆ getDiscountDescription()

static getDiscountDescription ( array $stepResult)
static

Returns description for old discount.

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

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

◆ getStepResult()

static 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