Removed redundant functions in Account, Optimised User a little more, Moved Ezypay Commands to new Ezypay folder

This commit is contained in:
2024-07-07 10:21:27 +10:00
parent 70e94bf6e6
commit b4f3db04fc
11 changed files with 91 additions and 85 deletions

View File

@@ -0,0 +1,35 @@
<?php
namespace App\Console\Commands\Ezypay;
use Illuminate\Console\Command;
use App\Classes\External\Payments\Ezypay;
use App\Jobs\PaymentsImport as Job;
class PaymentsImport extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'ezypay:payment:import';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Retrieve payments from Ezypay';
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
Job::dispatchSync(new Ezypay);
}
}