Enter a type and click search.




Results for BraintreeApplePaySaleCommand

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

<virtualType name="BraintreeApplePayCommandPool"
             type="Magento\Payment\Gateway\Command\CommandPool">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="authorize" xsi:type="string">
                BraintreeApplePayAuthorizeCommand
            </item>
            <item name="sale" xsi:type="string">
                BraintreeApplePaySaleCommand
            </item>
            <item name="capture" xsi:type="string">
                BraintreeApplePayCaptureStrategyCommand
            </item>
            <item name="settlement" xsi:type="string">
                BraintreeCaptureCommand
            </item>
            <item name="void" xsi:type="string">
                BraintreeVoidCommand
            </item>
            <item name="refund" xsi:type="string">
                BraintreeRefundCommand
            </item>
            <item name="cancel" xsi:type="string">
                BraintreeVoidCommand
            </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 BraintreeApplePayCommandPool object that it should return a Magento\Payment\Gateway\Command\CommandPool object.

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

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

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

<virtualType name="BraintreeApplePaySaleCommand"
             type="Magento\Payment\Gateway\Command\GatewayCommand">
    <arguments>
        <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">
            BraintreeApplePayAuthorizationHandler
        </argument>
        <argument name="validator" xsi:type="object">
            PayPal\Braintree\Gateway\Validator\ResponseValidator
        </argument>
        <argument name="requestBuilder" xsi:type="object">
            BraintreeApplePaySaleRequest
        </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 BraintreeApplePaySaleCommand object that it should return a Magento\Payment\Gateway\Command\GatewayCommand object.

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