6 declare(strict_types=1);
14 $websiteId = Bootstrap::getObjectManager()->get(StoreManagerInterface::class)
22 'name' =>
'10% Off on orders with two items',
24 'customer_group_ids' => [GroupManagement::NOT_LOGGED_IN_ID],
25 'coupon_type' => Rule::COUPON_TYPE_NO_COUPON,
26 'simple_action' =>
'by_percent',
27 'discount_amount' => 10,
29 'stop_rules_processing' => 1,
35 'type' => \
Magento\SalesRule\Model\
Rule\Condition\Combine::class,
39 'is_value_processed' =>
null,
40 'aggregator' =>
'all',
44 'type' => \
Magento\SalesRule\Model\
Rule\Condition\Product\Subselect::class,
48 'is_value_processed' =>
null,
49 'aggregator' =>
'all',
53 'type' => \
Magento\SalesRule\Model\
Rule\Condition\Product::class,
54 'attribute' =>
'attribute_set_id',
57 'is_value_processed' =>
false,