Enter a type and click search.




Results for Amazon\Payment\Gateway\ErrorMapper\VirtualErrorMessageMapper

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

<virtualType name="Amazon\Payment\Gateway\ErrorMapper\VirtualErrorMessageMapper"
             type="Magento\Payment\Gateway\ErrorMapper\ErrorMessageMapper">
    <arguments>
        <argument name="messageMapping" xsi:type="object">
            Amazon\Payment\Gateway\ErrorMapper\VirtualMappingData
        </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 Amazon\Payment\Gateway\ErrorMapper\VirtualErrorMessageMapper object that it should return a Magento\Payment\Gateway\ErrorMapper\ErrorMessageMapper object.

This configuration tells the Object Manager that when a user wants a Amazon\Payment\Gateway\ErrorMapper\VirtualErrorMessageMapper 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="AmazonAuthorizeCommand"
             type="Amazon\Payment\Gateway\Command\AmazonAuthCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            Amazon\Payment\Gateway\Request\AuthorizationRequestBuilder
        </argument>
        <argument name="handler" xsi:type="object">
            Amazon\Payment\Gateway\Response\CompleteAuthHandler
        </argument>
        <argument name="transferFactory" xsi:type="object">
            Amazon\Payment\Gateway\Http\TransferFactory
        </argument>
        <argument name="validator" xsi:type="object">
            AmazonAuthorizationValidators
        </argument>
        <argument name="client" xsi:type="object">
            Amazon\Payment\Gateway\Http\Client\AuthorizeClient
        </argument>
        <argument name="errorMessageMapper" xsi:type="object">
            Amazon\Payment\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 AmazonAuthorizeCommand object that it should return a Amazon\Payment\Gateway\Command\AmazonAuthCommand object.

This configuration tells the Object Manager that when a user wants a AmazonAuthorizeCommand 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="AmazonSaleCommand"
             type="Amazon\Payment\Gateway\Command\AmazonAuthCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            Amazon\Payment\Gateway\Request\AuthorizationRequestBuilder
        </argument>
        <argument name="handler" xsi:type="object">
            Amazon\Payment\Gateway\Response\CompleteSaleHandler
        </argument>
        <argument name="transferFactory" xsi:type="object">
            Amazon\Payment\Gateway\Http\TransferFactory
        </argument>
        <argument name="validator" xsi:type="object">
            AmazonAuthorizationValidators
        </argument>
        <argument name="client" xsi:type="object">
            Amazon\Payment\Gateway\Http\Client\CaptureClient
        </argument>
        <argument name="errorMessageMapper" xsi:type="object">
            Amazon\Payment\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 AmazonSaleCommand object that it should return a Amazon\Payment\Gateway\Command\AmazonAuthCommand object.

This configuration tells the Object Manager that when a user wants a AmazonSaleCommand 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="AmazonSettlementCommand"
             type="Amazon\Payment\Gateway\Command\AmazonAuthCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            Amazon\Payment\Gateway\Request\SettlementRequestBuilder
        </argument>
        <argument name="handler" xsi:type="object">
            Amazon\Payment\Gateway\Response\SettlementHandler
        </argument>
        <argument name="transferFactory" xsi:type="object">
            Amazon\Payment\Gateway\Http\TransferFactory
        </argument>
        <argument name="validator" xsi:type="object">
            AmazonAuthorizationValidators
        </argument>
        <argument name="client" xsi:type="object">
            Amazon\Payment\Gateway\Http\Client\SettlementClient
        </argument>
        <argument name="errorMessageMapper" xsi:type="object">
            Amazon\Payment\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 AmazonSettlementCommand object that it should return a Amazon\Payment\Gateway\Command\AmazonAuthCommand object.

This configuration tells the Object Manager that when a user wants a AmazonSettlementCommand 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="AmazonRefundCommand"
             type="Magento\Payment\Gateway\Command\GatewayCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            Amazon\Payment\Gateway\Request\RefundRequestBuilder
        </argument>
        <argument name="handler" xsi:type="object">
            Amazon\Payment\Gateway\Response\RefundHandler
        </argument>
        <argument name="transferFactory" xsi:type="object">
            Amazon\Payment\Gateway\Http\TransferFactory
        </argument>
        <argument name="validator" xsi:type="object">
            Amazon\Payment\Gateway\Validator\AuthorizationValidator
        </argument>
        <argument name="client" xsi:type="object">
            Amazon\Payment\Gateway\Http\Client\RefundClient
        </argument>
        <argument name="errorMessageMapper" xsi:type="object">
            Amazon\Payment\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 AmazonRefundCommand object that it should return a Magento\Payment\Gateway\Command\GatewayCommand object.

This configuration tells the Object Manager that when a user wants a AmazonRefundCommand 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="AmazonVoidCommand"
             type="Magento\Payment\Gateway\Command\GatewayCommand">
    <arguments>
        <argument name="requestBuilder" xsi:type="object">
            Amazon\Payment\Gateway\Request\VoidRequestBuilder
        </argument>
        <argument name="handler" xsi:type="object">
            Amazon\Payment\Gateway\Response\VoidHandler
        </argument>
        <argument name="transferFactory" xsi:type="object">
            Amazon\Payment\Gateway\Http\TransferFactory
        </argument>
        <argument name="validator" xsi:type="object">
            Amazon\Payment\Gateway\Validator\AuthorizationValidator
        </argument>
        <argument name="client" xsi:type="object">
            Amazon\Payment\Gateway\Http\Client\VoidClient
        </argument>
        <argument name="errorMessageMapper" xsi:type="object">
            Amazon\Payment\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 AmazonVoidCommand object that it should return a Magento\Payment\Gateway\Command\GatewayCommand object.

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