<?php declare(strict_types=1);
/*
* (c) shopware AG <info@shopware.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Swag\PayPal\Pos\Schedule;
use Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTask;
class CompleteSyncTask extends ScheduledTask
{
private const TIME_INTERVAL_ONE_HOUR = 3600;
public static function getTaskName(): string
{
return 'swag_paypal.pos_complete_sync';
}
public static function getDefaultInterval(): int
{
return self::TIME_INTERVAL_ONE_HOUR;
}
}