Enter a type and click search.




Results for BraintreeApplePayCommandPool

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

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

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

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

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