Model
ShippingMethodValidationRule
Magento\Quote\Model\ValidationRules\ShippingMethodValidationRule
What it does
This validation rule ensures that a quote has a valid shipping method selected before checkout.
Developers use this class as part of the quote validation chain to verify that non-virtual orders have proper shipping information configured, preventing checkout errors when shipping details are missing or invalid.
Public Methods
- validate()