di.xml 689 Bytes
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?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\InventoryDistanceBasedSourceSelectionApi\Api\GetDistanceInterface"
                type="Magento\InventoryDistanceBasedSourceSelectionApi\Model\GetDistance"/>
    <preference for="Magento\InventoryDistanceBasedSourceSelectionApi\Api\GetLatLngFromAddressInterface"
                type="Magento\InventoryDistanceBasedSourceSelectionApi\Model\GetLatLngFromAddress"/>
</config>