Enter a type and click search.




Results for BraintreeVaultResponseHandler

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

<virtualType name="BraintreeVaultAuthorizeCommand"
             type="PayPal\Braintree\Gateway\Command\GatewayCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            BraintreeVaultAuthorizeRequest
        </argument>
        <argument name="transferFactory" xsi:type="object">
            PayPal\Braintree\Gateway\Http\TransferFactory
        </argument>
        <argument name="client" xsi:type="object">
            PayPal\Braintree\Gateway\Http\Client\TransactionSale
        </argument>
        <argument name="handler" xsi:type="object">
            BraintreeVaultResponseHandler
        </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 BraintreeVaultAuthorizeCommand object that it should return a PayPal\Braintree\Gateway\Command\GatewayCommand object.

This configuration tells the Object Manager that when a user wants a BraintreeVaultAuthorizeCommand 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="BraintreeVaultResponseHandler"
             type="Magento\Payment\Gateway\Response\HandlerChain">
    <arguments>
        <argument name="handlers" xsi:type="array">
            <item name="payment_details" xsi:type="string">
                PayPal\Braintree\Gateway\Response\PaymentDetailsHandler
            </item>
            <item name="txn_id" xsi:type="string">
                PayPal\Braintree\Gateway\Response\TransactionIdHandler
            </item>
            <item name="card_details" xsi:type="string">
                PayPal\Braintree\Gateway\Response\CardDetailsHandler
            </item>
            <item name="risk_data" xsi:type="string">
                PayPal\Braintree\Gateway\Response\RiskDataHandler
            </item>
            <item name="3d_secure" xsi:type="string">
                PayPal\Braintree\Gateway\Response\ThreeDSecureDetailsHandler
            </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 BraintreeVaultResponseHandler object that it should return a Magento\Payment\Gateway\Response\HandlerChain object.

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

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