mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
27 lines
542 B
PHP
27 lines
542 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Magento\Quote\Model;
|
|
|
|
use Magento\Framework\Exception\NoSuchEntityException;
|
|
|
|
/**
|
|
* Converts masked quote id to the quote id (entity id)
|
|
* @api
|
|
* @since 101.1.0
|
|
*/
|
|
interface MaskedQuoteIdToQuoteIdInterface
|
|
{
|
|
/**
|
|
* @param string $maskedQuoteId
|
|
* @return int
|
|
* @throws NoSuchEntityException
|
|
* @since 101.1.0
|
|
*/
|
|
public function execute(string $maskedQuoteId): int;
|
|
}
|