Enter a type and click search.




Results for AmazonCommandPool

File: vendor/amzn/amazon-pay-module/etc/di.xml

<virtualType name="AmazonFacade"
             type="Magento\Payment\Model\Method\Adapter">
    <arguments>
        <argument name="code" xsi:type="const">
            Amazon\Payment\Gateway\Config\Config::CODE
        </argument>
        <argument name="formBlockType" xsi:type="string">
            Magento\Payment\Block\Form
        </argument>
        <argument name="infoBlockType" xsi:type="string">
            Magento\Payment\Block\Info
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            AmazonValueHandlerPool
        </argument>
        <argument name="validatorPool" xsi:type="object">
            AmazonValidatorPool
        </argument>
        <argument name="commandPool" xsi:type="object">
            AmazonCommandPool
        </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 AmazonFacade object that it should return a Magento\Payment\Model\Method\Adapter object.

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

  • $code = Amazon\Payment\Gateway\Config\Config::CODE;
  • $formBlockType = "Magento\Payment\Block\Form";
  • $infoBlockType = "Magento\Payment\Block\Info";
  • $valueHandlerPool = new AmazonValueHandlerPool (...)
  • $validatorPool = new AmazonValidatorPool (...)
  • $commandPool = new AmazonCommandPool (...)

File: vendor/amzn/amazon-pay-module/etc/di.xml

<virtualType name="AmazonCommandPool"
             type="Magento\Payment\Gateway\Command\CommandPool">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="authorize" xsi:type="string">
                AmazonAuthorizeCommand
            </item>
            <item name="capture" xsi:type="string">
                AmazonCaptureStrategyCommand
            </item>
            <item name="sale" xsi:type="string">
                AmazonSaleCommand
            </item>
            <item name="settlement" xsi:type="string">
                AmazonSettlementCommand
            </item>
            <item name="void" xsi:type="string">
                AmazonVoidCommand
            </item>
            <item name="cancel" xsi:type="string">
                AmazonVoidCommand
            </item>
            <item name="refund" xsi:type="string">
                AmazonRefundCommand
            </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 AmazonCommandPool object that it should return a Magento\Payment\Gateway\Command\CommandPool object.

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

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

File: vendor/amzn/amazon-pay-module/etc/di.xml

<virtualType name="AmazonCaptureStrategyCommand"
             type="Amazon\Payment\Gateway\Command\CaptureStrategyCommand">
    <arguments>
        <argument name="commandPool" xsi:type="object">
            AmazonCommandPool
        </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 AmazonCaptureStrategyCommand object that it should return a Amazon\Payment\Gateway\Command\CaptureStrategyCommand object.

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

File: vendor/amzn/amazon-pay-module/etc/di.xml

<virtualType name="AmazonCommandManager"
             type="Magento\Payment\Gateway\Command\CommandManager">
    <arguments>
        <argument name="commandPool" xsi:type="object">
            AmazonCommandPool
        </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 AmazonCommandManager object that it should return a Magento\Payment\Gateway\Command\CommandManager object.

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