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

Go to the source code of this file.

Variables

 $objectManager = Bootstrap::getObjectManager()
 
 $salesRule = $objectManager->create(Rule::class)
 
 $coupon = $objectManager->create(Coupon::class)
 

Variable Documentation

◆ $coupon

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

Definition at line 45 of file coupon_cart_fixed_discount.php.

◆ $objectManager

$objectManager = Bootstrap::getObjectManager()

Definition at line 15 of file coupon_cart_fixed_discount.php.

◆ $salesRule

$salesRule = $objectManager->create(Rule::class)

Definition at line 18 of file coupon_cart_fixed_discount.php.