Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
fixed_discount.php File Reference

Go to the source code of this file.

Variables

 $objectManager = Bootstrap::getObjectManager()
 
 $rule = $objectManager->create(RuleInterface::class)
 
 $ruleRepository = $objectManager->get(RuleRepositoryInterface::class)
 
 $coupon = $objectManager->create(CouponInterface::class)
 
 $couponRepository = $objectManager->get(CouponRepositoryInterface::class)
 

Variable Documentation

◆ $coupon

$coupon = $objectManager->create(CouponInterface::class)

Definition at line 34 of file fixed_discount.php.

◆ $couponRepository

$couponRepository = $objectManager->get(CouponRepositoryInterface::class)

Definition at line 39 of file fixed_discount.php.

◆ $objectManager

$objectManager = Bootstrap::getObjectManager()

Definition at line 14 of file fixed_discount.php.

◆ $rule

$rule = $objectManager->create(RuleInterface::class)

Definition at line 17 of file fixed_discount.php.

◆ $ruleRepository

$ruleRepository = $objectManager->get(RuleRepositoryInterface::class)

Definition at line 30 of file fixed_discount.php.