См. определение в файле compatibleformat.php строка 9
◆ createResultDescription()
| createResultDescription |
( |
| $newPrice, |
|
|
| $oldPrice, |
|
|
| $currency ) |
|
static |
Create simple description for unknown discount.
- Аргументы
-
| float | $newPrice | New price. |
| float | $oldPrice | Old price. |
| string | $currency | Currency. |
- Возвращает
- array
См. определение в файле compatibleformat.php строка 19
◆ getDiscountDescription()
| getDiscountDescription |
( |
array | $stepResult | ) |
|
|
static |
Returns description for old discount.
- Аргументы
-
| array | $stepResult | Action results. |
- Возвращает
- array
См. определение в файле compatibleformat.php строка 107
◆ getStepResult()
| getStepResult |
( |
array | $currentOrder, |
|
|
array | $oldOrder ) |
|
static |
Returns result after apply one discount in old format.
- Аргументы
-
| array | $currentOrder | Current order data. |
| array | $oldOrder | Old order data. |
- Возвращает
- array
См. определение в файле compatibleformat.php строка 45
Объявления и описания членов класса находятся в файле: