Log in
Model

Reader

Magento\Paypal\Model\Config\Rules\Reader

What it does

This class reads and parses country-specific PayPal configuration rules from XML files in the admin area.

It dynamically loads payment rules based on the configured country code (e.g., payment_us.xml, payment_uk.xml) and falls back to a generic payment_other.xml if no country-specific file exists.

Developers would use this when extending or customizing PayPal payment method availability rules for different countries.

Public Methods

  • read()