Enter a type and click search.




Results for BraintreeVenmoCommandPool

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

<virtualType name="BraintreeVenmo"
             type="Magento\Payment\Model\Method\Adapter">
    <arguments>
        <argument name="code" xsi:type="const">
            PayPal\Braintree\Model\Venmo\Ui\ConfigProvider::METHOD_CODE
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            BraintreeVenmoValueHandlerPool
        </argument>
        <argument name="validatorPool" xsi:type="object">
            BraintreeVenmoValidatorPool
        </argument>
        <argument name="commandPool" xsi:type="object">
            BraintreeVenmoCommandPool
        </argument>
        <argument name="formBlockType" xsi:type="object">
            Magento\Payment\Block\Form
        </argument>
        <argument name="infoBlockType" xsi:type="string">
            PayPal\Braintree\Block\Info
        </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 BraintreeVenmo object that it should return a Magento\Payment\Model\Method\Adapter object.

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

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

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

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

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