<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <!-- Plugins -->
    <type name="Magento\CatalogWidget\Block\Product\ProductsList">
        <plugin sortOrder="10" name="leanpayPaymentProductsList"
                type="Leanpay\Payment\Plugin\Block\Product\ProductsListPlugin"/>
    </type>
    <type name="Magento\Catalog\Block\Product\ListProduct">
        <plugin sortOrder="10" name="leanpayPaymentListProduct"
                type="Leanpay\Payment\Plugin\Block\Product\ListProductPlugin"/>
    </type>
    <type name="Magento\ConfigurableProduct\Block\Product\View\Type\Configurable">
        <plugin sortOrder="50" name="leanpayPaymentConfigurable"
                type="Leanpay\Payment\Plugin\Block\Product\View\Type\ConfigurablePlugin"/>
    </type>
</config>
