QuoteIdToMaskedQuoteIdInterface.php 518 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Quote\Model;
  8. use Magento\Framework\Exception\NoSuchEntityException;
  9. /**
  10. * Converts quote id to the masked quote id
  11. * @api
  12. * @since 101.1.0
  13. */
  14. interface QuoteIdToMaskedQuoteIdInterface
  15. {
  16. /**
  17. * @param int $quoteId
  18. * @return string
  19. * @throws NoSuchEntityException
  20. * @since 101.1.0
  21. */
  22. public function execute(int $quoteId): string;
  23. }