method
public
static
CompatibleFormat::createResultDescription()
Сигнатура
public static createResultDescription(float $newPrice, float $oldPrice, string $currency) : array<string|int, mixed>
Описание
Создаёт простое описание для неизвестной скидки.
Параметры
$newPrice
float
Новая цена.
$oldPrice
float
Старая цена.
$currency
string
Валюта.
Возвращаемое значение
array<string|int, mixed>
Исходный файл: source/sale/lib/discount/result/compatibleformat.php:19

