| Current Path : /home/rtorresani/www/vendor/magento/module-checkout/Model/ |
| Current File : //home/rtorresani/www/vendor/magento/module-checkout/Model/AddressComparatorInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Checkout\Model;
use Magento\Quote\Api\Data\AddressInterface;
interface AddressComparatorInterface
{
/**
* Returns true/false, after addresses comparison
*
* @param AddressInterface|null $address1
* @param AddressInterface|null $address2
* @return bool
*/
public function isEqual(?AddressInterface $address1, ?AddressInterface $address2): bool;
}