<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Checkout\Model\PaymentInformationManagement">
        <plugin name="codinter_order_attributes_save_purchase_order_number"
                type="Codinter\OrderAttributes\Plugin\Checkout\SavePurchaseOrderNumberPlugin"/>
    </type>
    <type name="Magento\Checkout\Model\GuestPaymentInformationManagement">
        <plugin name="codinter_order_attributes_save_guest_purchase_order_number"
                type="Codinter\OrderAttributes\Plugin\Checkout\SaveGuestPurchaseOrderNumberPlugin"/>
    </type>
    <type name="Magento\Sales\Api\OrderRepositoryInterface">
        <plugin name="codinter_order_attributes_order_extension_attributes"
                type="Codinter\OrderAttributes\Plugin\Sales\OrderRepositoryPlugin"/>
    </type>
</config>
