File: vendor/magento/module-authorizenet-acceptjs/etc/di.xml
<virtualType name="AuthorizenetAcceptjsCommandPool"
type="Magento\Payment\Gateway\Command\CommandPool">
<arguments>
<argument name="commands" xsi:type="array">
<item name="authorize" xsi:type="string">
AuthorizenetAcceptjsAuthorizeCommand
</item>
<item name="capture" xsi:type="string">
AuthorizenetAcceptjsCaptureCommand
</item>
<item name="sale" xsi:type="string">
AuthorizenetAcceptjsSaleCommand
</item>
<item name="settle" xsi:type="string">
AuthorizenetAcceptjsSettleCommand
</item>
<item name="void" xsi:type="string">
AuthorizenetAcceptjsVoidCommand
</item>
<item name="refund" xsi:type="string">
AuthorizenetAcceptjsRefundCommand
</item>
<item name="refund_settled" xsi:type="string">
AuthorizenetAcceptjsRefundSettledCommand
</item>
<item name="cancel" xsi:type="string">
AuthorizenetAcceptjsCancelCommand
</item>
<item name="accept_payment" xsi:type="string">
AuthorizenetAcceptjsAcceptPaymentCommand
</item>
<item name="accept_fds" xsi:type="string">
AuthorizenetAcceptjsAcceptFdsCommand
</item>
<item name="deny_payment" xsi:type="string">
AuthorizenetAcceptjsCancelCommand
</item>
<item name="get_transaction_details" xsi:type="string">
AuthorizenetAcceptjsTransactionDetailsCommand
</item>
<item name="fetch_transaction_information"
xsi:type="string">
AuthorizenetAcceptjsFetchTransactionInfoCommand
</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
AuthorizenetAcceptjsCommandPool
object that it should return a
Magento\Payment\Gateway\Command\CommandPool
object.
This configuration tells the Object Manager that when a user wants a
AuthorizenetAcceptjsCommandPool
object that the following arguments should be used in the foo object's constructor.
$commands =
[...items...];
|