12345678910111213141516171819202122232425262728293031323334 |
- <?xml version="1.0"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
- <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
- <preference for="Magento\InventorySourceSelectionApi\Api\Data\InventoryRequestInterface"
- type="Magento\InventorySourceSelection\Model\Request\InventoryRequest"/>
- <preference for="Magento\InventorySourceSelectionApi\Api\Data\ItemRequestInterface"
- type="Magento\InventorySourceSelection\Model\Request\ItemRequest"/>
- <preference for="Magento\InventorySourceSelectionApi\Api\Data\SourceSelectionAlgorithmInterface"
- type="Magento\InventorySourceSelection\Model\SourceSelectionAlgorithm"/>
- <preference for="Magento\InventorySourceSelectionApi\Api\Data\SourceSelectionItemInterface"
- type="Magento\InventorySourceSelection\Model\Result\SourceSelectionItem"/>
- <preference for="Magento\InventorySourceSelectionApi\Api\Data\SourceSelectionResultInterface"
- type="Magento\InventorySourceSelection\Model\Result\SourceSelectionResult"/>
- <preference for="Magento\InventorySourceSelectionApi\Api\GetDefaultSourceSelectionAlgorithmCodeInterface"
- type="Magento\InventorySourceSelection\Model\GetDefaultSourceSelectionAlgorithmCode"/>
- <preference for="Magento\InventorySourceSelectionApi\Api\Data\AddressInterface"
- type="Magento\InventorySourceSelection\Model\Address"/>
- <type name="Magento\InventorySourceSelectionApi\Model\SourceSelectionService">
- <arguments>
- <argument name="sourceSelectionMethods" xsi:type="array">
- <item name="priority"
- xsi:type="string">Magento\InventorySourceSelection\Model\Algorithms\PriorityBasedAlgorithm</item>
- </argument>
- </arguments>
- </type>
- </config>
|