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

Go to the source code of this file.

Variables

 $dataObjectHelper = Bootstrap::getObjectManager()->get(DataObjectHelper::class)
 
 $sourceItemFactory = Bootstrap::getObjectManager()->get(SourceItemInterfaceFactory::class)
 
 $sourceItemsSave = Bootstrap::getObjectManager()->get(SourceItemsSaveInterface::class)
 
 $sourcesItemsData
 
 $sourceItems = []
 

Variable Documentation

◆ $dataObjectHelper

$dataObjectHelper = Bootstrap::getObjectManager()->get(DataObjectHelper::class)

Definition at line 15 of file source_items_eu_stock_only.php.

◆ $sourceItemFactory

$sourceItemFactory = Bootstrap::getObjectManager()->get(SourceItemInterfaceFactory::class)

Definition at line 17 of file source_items_eu_stock_only.php.

◆ $sourceItems

$sourceItems = []

Definition at line 42 of file source_items_eu_stock_only.php.

◆ $sourceItemsSave

$sourceItemsSave = Bootstrap::getObjectManager()->get(SourceItemsSaveInterface::class)

Definition at line 19 of file source_items_eu_stock_only.php.

◆ $sourcesItemsData

$sourcesItemsData
Initial value:
= [
[
SourceItemInterface::SOURCE_CODE => 'eu-1',
SourceItemInterface::SKU => 'SKU-1',
SourceItemInterface::QUANTITY => 5.5,
SourceItemInterface::STATUS => SourceItemInterface::STATUS_IN_STOCK,
],
[
SourceItemInterface::SOURCE_CODE => 'eu-2',
SourceItemInterface::SKU => 'SKU-2',
SourceItemInterface::QUANTITY => 3,
SourceItemInterface::STATUS => SourceItemInterface::STATUS_IN_STOCK,
],
[
SourceItemInterface::SOURCE_CODE => 'eu-3',
SourceItemInterface::SKU => 'SKU-3',
SourceItemInterface::QUANTITY => 10,
SourceItemInterface::STATUS => SourceItemInterface::STATUS_IN_STOCK,
],
]

Definition at line 21 of file source_items_eu_stock_only.php.