mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
23 lines
535 B
PHP
23 lines
535 B
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;
|
|
}
|