- <!-- Payment Method Facade configuration -->
- <virtualType name="BraintreeTwoFacade" type="Magento\Payment\Model\Method\Adapter">
- <arguments>
- <argument name="code" xsi:type="const">Magento\BraintreeTwo\Model\Ui\ConfigProvider::CODE</argument>
- <argument name="formBlockType" xsi:type="string">Magento\BraintreeTwo\Block\Form</argument>
- <argument name="infoBlockType" xsi:type="string">Magento\BraintreeTwo\Block\Info</argument>
- <argument name="valueHandlerPool" xsi:type="object">BraintreeTwoValueHandlerPool</argument>
- <argument name="validatorPool" xsi:type="object">BraintreeTwoValidatorPool</argument>
- <argument name="commandPool" xsi:type="object">BraintreeTwoCommandPool</argument>
- </arguments>
- </virtualType>