Enter a type and click search.




Results for KPConfig

File: vendor/klarna/module-kp/etc/di.xml

<virtualType name="KPCountryValidator"
             type="Magento\Payment\Gateway\Validator\CountryValidator">
    <arguments>
        <argument name="config" xsi:type="object">
            KPConfig
        </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 KPCountryValidator object that it should return a Magento\Payment\Gateway\Validator\CountryValidator object.

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

File: vendor/klarna/module-kp/etc/di.xml

<virtualType name="KPConfig"
             type="Magento\Payment\Gateway\Config\Config">
    <arguments>
        <argument name="methodCode" xsi:type="const">
            Klarna\Kp\Model\Payment\Kp::METHOD_CODE
        </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 KPConfig object that it should return a Magento\Payment\Gateway\Config\Config object.

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

  • $methodCode = Klarna\Kp\Model\Payment\Kp::METHOD_CODE;

File: vendor/klarna/module-kp/etc/di.xml

<virtualType name="KPConfigValueHandler"
             type="Magento\Payment\Gateway\Config\ConfigValueHandler">
    <arguments>
        <argument name="configInterface" xsi:type="object">
            KPConfig
        </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 KPConfigValueHandler object that it should return a Magento\Payment\Gateway\Config\ConfigValueHandler object.

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