ldc-boutique-cnc/app/Console/Commands/SystempayCreditTransactionUpdateCommand.php
2023-05-19 12:43:52 +02:00

34 lines
724 B
PHP

<?php
namespace App\Console\Commands;
use App\Jobs\Payment\SystempayCreditTransactionUpdate;
use Illuminate\Console\Command;
class SystempayCreditTransactionUpdateCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'systempay:update_credit_transactions';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Update Systempay credit transaction statuses';
/**
* Execute the console command.
*
* @return inteager
*/
public function handle()
{
\dispatch_sync(new SystempayCreditTransactionUpdate());
return 0;
}
}