Your IP : 127.0.0.1


Current Path : /home/dev2.destoffenstraat.com/app/code/TIG/-Postcode/etc/
Upload File :
Current File : /home/dev2.destoffenstraat.com/app/code/TIG/-Postcode/etc/di.xml

<?xml version="1.0" encoding="UTF-8"?><!--
 *
 *
 *          ..::..
 *     ..::::::::::::..
 *   ::'''''':''::'''''::
 *   ::..  ..:  :  ....::
 *   ::::  :::  :  :   ::
 *   ::::  :::  :  ''' ::
 *   ::::..:::..::.....::
 *     ''::::::::::::''
 *          ''::''
 *
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Creative Commons License.
 * It is available through the world-wide-web at this URL:
 * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
 * If you are unable to obtain it through the world-wide-web, please send an email
 * to servicedesk@tig.nl so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this module to newer
 * versions in the future. If you wish to customize this module for your
 * needs please contact servicedesk@tig.nl for more information.
 *
 * @copyright   Copyright (c) Total Internet Group B.V. https://tig.nl/copyright
 * @license     http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
 *
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">

     <!--Services\Validation factory list -->
    <type name="TIG\Postcode\Services\Validation\Factory">
        <arguments>
            <argument name="validators" xsi:type="array">
                <item name="request" xsi:type="object">\TIG\Postcode\Services\Validation\Request</item>
                <item name="response" xsi:type="object">\TIG\Postcode\Services\Validation\Response</item>
            </argument>
        </arguments>
    </type>

     <!--Service\Converter factory list -->
    <type name="TIG\Postcode\Services\Converter\Factory">
        <arguments>
            <argument name="converters" xsi:type="array">
                <item name="request" xsi:type="object">\TIG\Postcode\Services\Converter\Request</item>
                <item name="response" xsi:type="object">\TIG\Postcode\Services\Converter\Response</item>
            </argument>
        </arguments>
    </type>

    <type name="Magento\Quote\Model\ShippingAddressManagement">
        <plugin name="postcodeShippingAddressManagement" type="TIG\Postcode\Plugin\Address\Management\Shipping" />
    </type>

    <type name="Magento\Quote\Model\BillingAddressManagement">
        <plugin name="postcodeBillingAddressManagement" type="TIG\Postcode\Plugin\Address\Management\Billing" />
    </type>

    <type name="Magento\Checkout\Model\PaymentInformationManagement">
        <plugin name="postcodePaymentInformationManagement" type="TIG\Postcode\Plugin\Address\Management\Payment" />
    </type>

    <type name="Magento\Checkout\Model\GuestPaymentInformationManagement">
        <plugin name="postcodeGuestPaymentInformationManagement" type="TIG\Postcode\Plugin\Address\Management\GuestPayment" />
    </type>

    <type name="\Mageplaza\Osc\Api\CheckoutManagementInterface">
        <plugin name="postcodeMageplazaCheckoutInformation" type="TIG\Postcode\Plugin\Mageplaza\CheckoutManagement" />
    </type>

</config>