<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

    <preference for="Yeboyebo\TarjetasMonedero\Api\TarjetasMonederoManagementInterface" type="Yeboyebo\TarjetasMonedero\Model\TarjetasMonederoManagement" />
    <preference for="Yeboyebo\TarjetasMonedero\Api\GuestTarjetasMonederoManagementInterface" type="Yeboyebo\TarjetasMonedero\Model\GuestCart\GuestTarjetasMonederoManagement" />
    
    <type name="Magento\Quote\Api\CartTotalRepositoryInterface">
        <plugin name="tarjetas_monedero_add_quote_data" type="Yeboyebo\TarjetasMonedero\Plugin\Cart\Totals\TotalsTarjetasMonederoConverterPlugin"/>
    </type>

    <preference for="Yeboyebo\Vales\Model\Paypal\Cart" type="Yeboyebo\TarjetasMonedero\Model\Paypal\Cart" />
    <preference for="Yeboyebo\Vales\Model\Paypal\Express" type="Yeboyebo\TarjetasMonedero\Model\Paypal\Express" />

    <preference for="Magento\Catalog\Block\Product\View\Options\Type\Text" type="Yeboyebo\TarjetasMonedero\Block\Product\View\Options\Type\Text" />
    <preference for="Magento\Catalog\Block\Product\View\Options\Type\Date" type="Yeboyebo\TarjetasMonedero\Block\Product\View\Options\Type\Date" />
   
</config>