Enter a type and click search.




Results for BraintreeVoidRequestBuilder

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

<virtualType name="BraintreeVoidCommand"
             type="Magento\Payment\Gateway\Command\GatewayCommand">
    <arguments>
        <argument name="client" xsi:type="object">
            Magento\Braintree\Gateway\Http\Client\TransactionVoid
        </argument>
        <argument name="requestBuilder" xsi:type="object">
            BraintreeVoidRequestBuilder
        </argument>
        <argument name="handler" xsi:type="object">
            Magento\Braintree\Gateway\Response\VoidHandler
        </argument>
        <argument name="validator" xsi:type="object">
            Magento\Braintree\Gateway\Validator\GeneralResponseValidator
        </argument>
        <argument name="transferFactory" xsi:type="object">
            Magento\Braintree\Gateway\Http\TransferFactory
        </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 BraintreeVoidCommand object that it should return a Magento\Payment\Gateway\Command\GatewayCommand object.

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

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

<virtualType name="BraintreeVoidRequestBuilder"
             type="Magento\Payment\Gateway\Request\BuilderComposite">
    <arguments>
        <argument name="builders" xsi:type="array">
            <item name="void" xsi:type="string">
                Magento\Braintree\Gateway\Request\VoidDataBuilder
            </item>
            <item name="store" xsi:type="string">
                Magento\Braintree\Gateway\Request\StoreConfigBuilder
            </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 BraintreeVoidRequestBuilder object that it should return a Magento\Payment\Gateway\Request\BuilderComposite object.

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

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