Merx

$pricingRules->getRuleByKey()

Gets the pricing rule by its key

$pricingRules->getRuleByKey(null|string $key): null|Wagnerwagner\Merx\PricingRule

Parameters

Name Type Default
$key null or string -

Return type

null or Wagnerwagner\Merx\PricingRule

Parent class

Wagnerwagner\Merx\PricingRules