Interface
AddressComparatorInterface
Magento\Checkout\Model\AddressComparatorInterface
What it does
This interface defines a contract for comparing two quote addresses to determine if they are equal.
Developers would implement this interface when they need to create custom logic for comparing shipping or billing addresses during checkout, such as checking if an address has changed or if two addresses represent the same location.
Public Methods
- isEqual()