<?php

namespace App\Console\Commands\V2;

use Illuminate\Console\Command;
use App\Classes\Jobs\Commands\V2\UpdateWrongFullyRefundPaymentReferenceV2CommandJob;

class UpdateWrongFullyRefundPaymentReferenceV2Command extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'payment-reference:update-wrong-fully-refund-command';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Update those payment reference that actually should be showing partially refund instead of fully refund';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        UpdateWrongFullyRefundPaymentReferenceV2CommandJob::dispatch();
    }
}
