Enter a type and click search.




Results for BraintreeGooglePayCommandPool

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

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

This configuration tells the Object Manager that when a user wants a BraintreeGooglePay 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="BraintreeGooglePayCommandPool"
             type="Magento\Payment\Gateway\Command\CommandPool">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="authorize" xsi:type="string">
                BraintreeGooglePayAuthorizeCommand
            </item>
            <item name="sale" xsi:type="string">
                BraintreeGooglePaySaleCommand
            </item>
            <item name="capture" xsi:type="string">
                BraintreeGooglePayCaptureStrategyCommand
            </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 BraintreeGooglePayCommandPool object that it should return a Magento\Payment\Gateway\Command\CommandPool object.

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

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