<?php


namespace App\Http\Controllers\Transactions;

use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use App\Classes\Modules\Transactions\ControllersLogic\RegenerateShippingInvoiceTransactionLogic;


class RegenerateShippingInvoiceTransactionController
{
    /**
     * @param Request $request
     * @param RegenerateShippingInvoiceTransactionLogic $logic
     * @return JsonResponse
     */
    public function regenerate(Request $request, RegenerateShippingInvoiceTransactionLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
