Enter a type and click search.




Results for Amazon\Payment\Gateway\Config\Config

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

<type name="Amazon\Payment\Block\Minicart\Button">
    <arguments>
        <argument name="data" xsi:type="array">
            <item name="template" xsi:type="string">
                Amazon_Payment::minicart-button.phtml
            </item>
            <item name="alias" xsi:type="string">
                amazon.button.mini-cart
            </item>
        </argument>
        <argument name="payment" xsi:type="object">
            Amazon\Payment\Gateway\Config\Config
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the frontend area. This is the area that corresponds with the cart sub-application.

This configuration tells the Object Manager that when a user wants a Amazon\Payment\Block\Minicart\Button object that the following arguments should be used in the foo object's constructor.

Results for Amazon\Payment\Gateway\Config\Config

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

<type name="Amazon\Payment\Gateway\Config\Config">
    <arguments>
        <argument name="methodCode" xsi:type="const">
            Amazon\Payment\Gateway\Config\Config::CODE
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Amazon\Payment\Gateway\Config\Config object that the following arguments should be used in the foo object's constructor.

  • $methodCode = Amazon\Payment\Gateway\Config\Config::CODE;

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

<type name="Amazon\Payment\Helper\Shortcut\Validator">
    <arguments>
        <argument name="amazonConfig" xsi:type="object">
            Amazon\Payment\Gateway\Config\Config
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This configuration tells the Object Manager that when a user wants a Amazon\Payment\Helper\Shortcut\Validator 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="AmazonCountryValidator"
             type="Magento\Payment\Gateway\Validator\CountryValidator">
    <arguments>
        <argument name="config" xsi:type="object">
            Amazon\Payment\Gateway\Config\Config
        </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 AmazonCountryValidator object that it should return a Magento\Payment\Gateway\Validator\CountryValidator object.

This configuration tells the Object Manager that when a user wants a AmazonCountryValidator 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="AmazonGatewayConfig"
             type="Amazon\Payment\Gateway\Config\Config"></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 AmazonGatewayConfig object that it should return a Amazon\Payment\Gateway\Config\Config object.