Enter a type and click search.




Results for BraintreeCaptureStrategyCommand

File: vendor/paypal/module-braintree-core/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">
                BraintreeVoidCommand
            </item>
            <item name="deny_payment" xsi:type="string">
                BraintreeVoidCommand
            </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/paypal/module-braintree-core/etc/di.xml

<virtualType name="BraintreeCaptureStrategyCommand"
             type="PayPal\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 PayPal\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.