new PricingRule()
Constructor
new PricingRule(string $key, null|string $name = null, null|string $currency = null, null|callable $rule = null, bool $taxIncluded = true)
Parameters
| Name | Type | Default |
|---|---|---|
$key |
string |
- |
$name |
null or string |
null |
$currency |
null or string |
null |
$rule |
null or callable |
null |
$taxIncluded |
bool |
true |