Enter a type and click search.




Results for AmazonCountryValidator

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="AmazonValidatorPool"
             type="Magento\Payment\Gateway\Validator\ValidatorPool">
    <arguments>
        <argument name="validators" xsi:type="array">
            <item name="country" xsi:type="string">
                AmazonCountryValidator
            </item>
            <item name="currency" xsi:type="string">
                AmazonCurrencyValidator
            </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 AmazonValidatorPool object that it should return a Magento\Payment\Gateway\Validator\ValidatorPool object.

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

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