См. определение в файле compatibleformat.php строка 9
◆ createResultDescription()
static 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()
static getDiscountDescription |
( |
array | $stepResult | ) |
|
|
static |
Returns description for old discount.
- Аргументы
-
array | $stepResult | Action results. |
- Возвращает
- array
См. определение в файле compatibleformat.php строка 107
◆ getStepResult()
static 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