Enter a type and click search.




Results for BraintreePayPalSaleRequest

File: vendor/magento/module-braintree/etc/di.xml

<virtualType name="BraintreePayPalSaleCommand"
             type="BraintreePayPalAuthorizeCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            BraintreePayPalSaleRequest
        </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 BraintreePayPalSaleCommand object that it should return a BraintreePayPalAuthorizeCommand object.

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

File: vendor/magento/module-braintree/etc/di.xml

<virtualType name="BraintreePayPalSaleRequest"
             type="Magento\Payment\Gateway\Request\BuilderComposite">
    <arguments>
        <argument name="builders" xsi:type="array">
            <item name="authorize" xsi:type="string">
                BraintreePayPalAuthorizeRequest
            </item>
            <item name="settlement" xsi:type="string">
                Magento\Braintree\Gateway\Request\SettlementDataBuilder
            </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 BraintreePayPalSaleRequest object that it should return a Magento\Payment\Gateway\Request\BuilderComposite object.

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

  • $builders = [...items...];