Enter a type and click search.




Results for BraintreeAuthorizeCommand

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

<virtualType name="BraintreeCommandPool"
             type="Magento\Payment\Gateway\Command\CommandPool">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="authorize" xsi:type="string">
                BraintreeAuthorizeCommand
            </item>
            <item name="sale" xsi:type="string">
                BraintreeSaleCommand
            </item>
            <item name="capture" xsi:type="string">
                BraintreeCaptureStrategyCommand
            </item>
            <item name="settlement" xsi:type="string">
                BraintreeCaptureCommand
            </item>
            <item name="vault_authorize" xsi:type="string">
                BraintreeVaultAuthorizeCommand
            </item>
            <item name="vault_sale" xsi:type="string">
                BraintreeVaultSaleCommand
            </item>
            <item name="vault_capture" xsi:type="string">
                BraintreeVaultCaptureCommand
            </item>
            <item name="void" xsi:type="string">
                BraintreeVoidCommand
            </item>
            <item name="refund" xsi:type="string">
                BraintreeRefundCommand
            </item>
            <item name="cancel" xsi:type="string">
                Magento\Braintree\Gateway\CancelCommand
            </item>
            <item name="deny_payment" xsi:type="string">
                Magento\Braintree\Gateway\CancelCommand
            </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 BraintreeCommandPool object that it should return a Magento\Payment\Gateway\Command\CommandPool object.

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

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

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

<virtualType name="BraintreeAuthorizeCommand"
             type="Magento\Payment\Gateway\Command\GatewayCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            BraintreeAuthorizeRequest
        </argument>
        <argument name="transferFactory" xsi:type="object">
            Magento\Braintree\Gateway\Http\TransferFactory
        </argument>
        <argument name="client" xsi:type="object">
            Magento\Braintree\Gateway\Http\Client\TransactionSale
        </argument>
        <argument name="handler" xsi:type="object">
            BraintreeAuthorizationHandler
        </argument>
        <argument name="validator" xsi:type="object">
            Magento\Braintree\Gateway\Validator\ResponseValidator
        </argument>
        <argument name="errorMessageMapper" xsi:type="object">
            Magento\Braintree\Gateway\ErrorMapper\VirtualErrorMessageMapper
        </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 BraintreeAuthorizeCommand object that it should return a Magento\Payment\Gateway\Command\GatewayCommand object.

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

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="BraintreePayPalAuthorizeCommand"
             type="BraintreeAuthorizeCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            BraintreePayPalAuthorizeRequest
        </argument>
        <argument name="handler" xsi:type="object">
            BraintreePayPalResponseHandler
        </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 BraintreePayPalAuthorizeCommand object that it should return a BraintreeAuthorizeCommand object.

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