private createUnitFixedPromotion ( Sylius\Component\Core\Model\PromotionInterface $promotion, integer $discount, array $configuration = [], Sylius\Component\Promotion\Model\PromotionRuleInterface $rule = null ) | ||
$promotion | Sylius\Component\Core\Model\PromotionInterface | |
$discount | integer | |
$configuration | array | |
$rule | Sylius\Component\Promotion\Model\PromotionRuleInterface |