Sylius\Behat\Context\Setup\PromotionContext::itGivesFixedOffEveryProductClassifiedAs PHP Method

itGivesFixedOffEveryProductClassifiedAs() public method

public itGivesFixedOffEveryProductClassifiedAs ( Sylius\Component\Core\Model\PromotionInterface $promotion, $discount, Sylius\Component\Core\Model\TaxonInterface $taxon )
$promotion Sylius\Component\Core\Model\PromotionInterface
$taxon Sylius\Component\Core\Model\TaxonInterface
    public function itGivesFixedOffEveryProductClassifiedAs(PromotionInterface $promotion, $discount, TaxonInterface $taxon)
    {
        $this->createUnitFixedPromotion($promotion, $discount, $this->getTaxonFilterConfiguration([$taxon->getCode()]));
    }
PromotionContext