Enter a type and click search.




Results for Magento\Braintree\Gateway\Response\VaultDetailsHandler

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

<type name="Magento\Braintree\Gateway\Response\VaultDetailsHandler">
    <arguments>
        <argument name="paymentTokenFactory" xsi:type="object">
            Magento\Vault\Api\Data\PaymentTokenFactoryInterface
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Magento\Braintree\Gateway\Response\VaultDetailsHandler object that the following arguments should be used in the foo object's constructor.

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

<virtualType name="BraintreeAuthorizationHandler"
             type="Magento\Payment\Gateway\Response\HandlerChain">
    <arguments>
        <argument name="handlers" xsi:type="array">
            <item name="payment_details" xsi:type="string">
                Magento\Braintree\Gateway\Response\PaymentDetailsHandler
            </item>
            <item name="txn_id" xsi:type="string">
                Magento\Braintree\Gateway\Response\TransactionIdHandler
            </item>
            <item name="card_details" xsi:type="string">
                Magento\Braintree\Gateway\Response\CardDetailsHandler
            </item>
            <item name="risk_data" xsi:type="string">
                Magento\Braintree\Gateway\Response\RiskDataHandler
            </item>
            <item name="vault_details" xsi:type="string">
                Magento\Braintree\Gateway\Response\VaultDetailsHandler
            </item>
            <item name="3d_secure" xsi:type="string">
                Magento\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 BraintreeAuthorizationHandler object that it should return a Magento\Payment\Gateway\Response\HandlerChain object.

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

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