Enter a type and click search.




Results for BraintreeCaptureRequest

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

<virtualType name="BraintreeCaptureCommand"
             type="PayPal\Braintree\Gateway\Command\GatewayCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            BraintreeCaptureRequest
        </argument>
        <argument name="transferFactory" xsi:type="object">
            PayPal\Braintree\Gateway\Http\TransferFactory
        </argument>
        <argument name="client" xsi:type="object">
            PayPal\Braintree\Gateway\Http\Client\TransactionSubmitForSettlement
        </argument>
        <argument name="handler" xsi:type="object">
            PayPal\Braintree\Gateway\Response\TransactionIdHandler
        </argument>
        <argument name="validator" xsi:type="object">
            PayPal\Braintree\Gateway\Validator\ResponseValidator
        </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 BraintreeCaptureCommand object that it should return a PayPal\Braintree\Gateway\Command\GatewayCommand object.

This configuration tells the Object Manager that when a user wants a BraintreeCaptureCommand 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="BraintreeCaptureRequest"
             type="Magento\Payment\Gateway\Request\BuilderComposite">
    <arguments>
        <argument name="builders" xsi:type="array">
            <item name="capture" xsi:type="string">
                PayPal\Braintree\Gateway\Request\CaptureDataBuilder
            </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 BraintreeCaptureRequest object that it should return a Magento\Payment\Gateway\Request\BuilderComposite object.

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

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