Enter a type and click search.




Results for BraintreeCommandPool

File: vendor/magento/module-braintree/etc/di.xml

<virtualType name="BraintreeFacade"
             type="Magento\Payment\Model\Method\Adapter">
    <arguments>
        <argument name="code" xsi:type="const">
            Magento\Braintree\Model\Ui\ConfigProvider::CODE
        </argument>
        <argument name="formBlockType" xsi:type="string">
            Magento\Braintree\Block\Form
        </argument>
        <argument name="infoBlockType" xsi:type="string">
            Magento\Braintree\Block\Info
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            BraintreeValueHandlerPool
        </argument>
        <argument name="validatorPool" xsi:type="object">
            BraintreeValidatorPool
        </argument>
        <argument name="commandPool" xsi:type="object">
            BraintreeCommandPool
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual BraintreeFacade object that it should return a Magento\Payment\Model\Method\Adapter object.

This configuration tells the Object Manager that when a user wants a BraintreeFacade object that the following arguments should be used in the foo object's constructor.

File: vendor/magento/module-braintree/etc/di.xml

<virtualType name="BraintreeCommandPool"
             type="Magento\Payment\Gateway\Command\CommandPool">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="authorize" xsi:type="string">
                BraintreeAuthorizeCommand
            </item>
            <item name="sale" xsi:type="string">
                BraintreeSaleCommand
            </item>
            <item name="capture" xsi:type="string">
                BraintreeCaptureStrategyCommand
            </item>
            <item name="settlement" xsi:type="string">
                BraintreeCaptureCommand
            </item>
            <item name="vault_authorize" xsi:type="string">
                BraintreeVaultAuthorizeCommand
            </item>
            <item name="vault_sale" xsi:type="string">
                BraintreeVaultSaleCommand
            </item>
            <item name="vault_capture" xsi:type="string">
                BraintreeVaultCaptureCommand
            </item>
            <item name="void" xsi:type="string">
                BraintreeVoidCommand
            </item>
            <item name="refund" xsi:type="string">
                BraintreeRefundCommand
            </item>
            <item name="cancel" xsi:type="string">
                Magento\Braintree\Gateway\CancelCommand
            </item>
            <item name="deny_payment" xsi:type="string">
                Magento\Braintree\Gateway\CancelCommand
            </item>
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual BraintreeCommandPool object that it should return a Magento\Payment\Gateway\Command\CommandPool object.

This configuration tells the Object Manager that when a user wants a BraintreeCommandPool object that the following arguments should be used in the foo object's constructor.

  • $commands = [...items...];

File: vendor/magento/module-braintree/etc/di.xml

<virtualType name="BraintreeCaptureStrategyCommand"
             type="Magento\Braintree\Gateway\Command\CaptureStrategyCommand">
    <arguments>
        <argument name="commandPool" xsi:type="object">
            BraintreeCommandPool
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual BraintreeCaptureStrategyCommand object that it should return a Magento\Braintree\Gateway\Command\CaptureStrategyCommand object.

This configuration tells the Object Manager that when a user wants a BraintreeCaptureStrategyCommand object that the following arguments should be used in the foo object's constructor.

File: vendor/magento/module-braintree/etc/di.xml

<virtualType name="BraintreeCommandManager"
             type="Magento\Payment\Gateway\Command\CommandManager">
    <arguments>
        <argument name="commandPool" xsi:type="object">
            BraintreeCommandPool
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual BraintreeCommandManager object that it should return a Magento\Payment\Gateway\Command\CommandManager object.

This configuration tells the Object Manager that when a user wants a BraintreeCommandManager object that the following arguments should be used in the foo object's constructor.