Enter a type and click search.




Results for BraintreeLpmCaptureStrategyCommand

File: vendor/paypal/module-braintree-core/etc/di.xml

<virtualType name="BraintreeLpmCommandPool"
             type="Magento\Payment\Gateway\Command\CommandPool">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="authorize" xsi:type="string">
                BraintreeLpmAuthorizeCommand
            </item>
            <item name="sale" xsi:type="string">
                BraintreeLpmSaleCommand
            </item>
            <item name="capture" xsi:type="string">
                BraintreeLpmCaptureStrategyCommand
            </item>
            <item name="settlement" xsi:type="string">
                BraintreeCaptureCommand
            </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>
        </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 BraintreeLpmCommandPool object that it should return a Magento\Payment\Gateway\Command\CommandPool object.

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

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