Files
magento2/app/code/Magento/Quote/Model/MaskedQuoteIdToQuoteIdInterface.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;
}