Model
MinimumAmountValidationRule
Magento\Quote\Model\ValidationRules\MinimumAmountValidationRule
What it does
This class validates whether a quote (shopping cart) meets the store's minimum order amount requirement before checkout.
Developers would use this as part of the quote validation chain to prevent orders below the configured minimum threshold.
It implements the QuoteValidationRuleInterface and returns validation errors when the minimum amount is not met.
Public Methods
- validate()