Model
InStorePickupQuoteValidationRule
Magento\InventoryInStorePickupQuote\Model\Quote\ValidationRule\InStorePickupQuoteValidationRule
What it does
This validation rule ensures that quotes using in-store pickup delivery method have a valid pickup location assigned and that the pickup location address matches the shipping address.
Developers would use this class to validate cart/quote data before order placement when customers select in-store pickup as their delivery method.
Public Methods
- validate()