<?php

namespace App\Classes\Jobs;

use App\Classes\Modules\Transactions\Processors\GeneratesGroupTransactionsPurchaseOrder;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;

class GenerateGroupTransactionsPurchaseOrder implements ShouldQueue
{
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

    public $timeout = 900;

    public function handle()
    {
        (App()->make(GeneratesGroupTransactionsPurchaseOrder::class))->execute();
    }
}
