| Current Path : /home/rtorresani/www/vendor/magento/module-checkout/Api/ |
| Current File : //home/rtorresani/www/vendor/magento/module-checkout/Api/PaymentSavingRateLimiterInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Checkout\Api;
use Magento\Checkout\Api\Exception\PaymentProcessingRateLimitExceededException;
/**
* Limits number of times a user can store payment method info.
*/
interface PaymentSavingRateLimiterInterface
{
/**
* Limit an attempt.
*
* @return void
* @throws PaymentProcessingRateLimitExceededException
*/
public function limit(): void;
}