Enter a type and click search.




Results for BraintreePayPalCommandPool

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

<virtualType name="BraintreePayPalFacade" type="BraintreeFacade">
    <arguments>
        <argument name="code" xsi:type="const">
            Magento\Braintree\Model\Ui\PayPal\ConfigProvider::PAYPAL_CODE
        </argument>
        <argument name="infoBlockType" xsi:type="string">
            BraintreePayPalInfo
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            BraintreePayPalValueHandlerPool
        </argument>
        <argument name="validatorPool" xsi:type="object">
            BraintreePayPalValidatorPool
        </argument>
        <argument name="commandPool" xsi:type="object">
            BraintreePayPalCommandPool
        </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 BraintreePayPalFacade object that it should return a BraintreeFacade object.

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

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

<virtualType name="BraintreePayPalCommandPool"
             type="Magento\Payment\Gateway\Command\CommandPool">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="authorize" xsi:type="string">
                BraintreePayPalAuthorizeCommand
            </item>
            <item name="sale" xsi:type="string">
                BraintreePayPalSaleCommand
            </item>
            <item name="capture" xsi:type="string">
                BraintreePayPalCaptureStrategyCommand
            </item>
            <item name="settlement" xsi:type="string">
                BraintreeCaptureCommand
            </item>
            <item name="vault_authorize" xsi:type="string">
                BraintreePayPalVaultAuthorizeCommand
            </item>
            <item name="vault_sale" xsi:type="string">
                BraintreePayPalVaultSaleCommand
            </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>
        </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 BraintreePayPalCommandPool object that it should return a Magento\Payment\Gateway\Command\CommandPool object.

This configuration tells the Object Manager that when a user wants a BraintreePayPalCommandPool 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="BraintreePayPalCaptureStrategyCommand"
             type="Magento\Braintree\Gateway\Command\CaptureStrategyCommand">
    <arguments>
        <argument name="commandPool" xsi:type="object">
            BraintreePayPalCommandPool
        </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 BraintreePayPalCaptureStrategyCommand object that it should return a Magento\Braintree\Gateway\Command\CaptureStrategyCommand object.

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

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

<virtualType name="BraintreePayPalCommandManager"
             type="Magento\Payment\Gateway\Command\CommandManager">
    <arguments>
        <argument name="commandPool" xsi:type="object">
            BraintreePayPalCommandPool
        </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 BraintreePayPalCommandManager object that it should return a Magento\Payment\Gateway\Command\CommandManager object.

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