<?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="DJOGlobal\ExtCybersource\Api\Data\CybersourcePaymentInterface" type="DJOGlobal\ExtCybersource\Model\CybersourcePayment"/>

    <preference for="CyberSource\Core\Gateway\ErrorMapper\ConfigurableMapper" type="DJOGlobal\ExtCybersource\Rewrite\CyberSource\Core\Gateway\ErrorMapper\ConfigurableMapper"/>
    <preference for="CyberSource\SecureAcceptance\Gateway\Response\AuthorizeResponseHandler" type="DJOGlobal\ExtCybersource\Rewrite\CyberSource\SecureAcceptance\Gateway\Response\AuthorizeResponseHandler"/>

    <type name="CyberSource\SecureAcceptance\Gateway\Request\Soap\PaymentDataBuilder">
        <plugin name="DJOGlobal_ExtCybersource:AlterAmountForSoapPaymentDataBuilder" type="DJOGlobal\ExtCybersource\Plugin\AlterAmountForSoapPaymentDataBuilder"/>
    </type>
    <!--
    <type name="CyberSource\SecureAcceptance\Gateway\Request\Sop\PaymentDataBuilder">
        <plugin name="DJOGlobal_ExtCybersource:AlterAmountForSopPaymentDataBuilder" type="DJOGlobal\ExtCybersource\Plugin\AlterAmountForSopPaymentDataBuilder"/>
    </type>
    -->
</config>
