Enter a type and click search.




Results for BraintreeSaleRequest

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

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

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

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

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

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

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