Model
Msrp
Magento\Msrp\Model\Msrp
What it does
This class handles MSRP (Manufacturer's Suggested Retail Price) validation for products in Magento 2.
Developers use it to check if MSRP can be applied to a specific product type, as MSRP is only applicable to certain product types like simple or configurable products.
It loads the MSRP attribute configuration once and caches which product types support MSRP pricing.
Public Methods
- canApplyToProduct()