Interfaces, Classes, Traits and Enums
- PriceRuleInterface
Table of Contents
-
$value
: mixed
-
__construct()
: mixed
-
calculate()
: float|null
-
roundDown()
: mixed
$value
private
mixed
$value
__construct()
public
__construct(mixed $value) : mixed
Parameters
-
$value
: mixed
-
Return values
mixed
—
calculate()
public
calculate(Product $product) : float|null
Parameters
-
$product
: Product
-
Return values
float|null
—
roundDown()
private
roundDown(float $value, float $step) : mixed
Parameters
-
$value
: float
-
-
$step
: float
-
Return values
mixed
—