<?php

namespace App\Http\Controllers\Bookings;

use App\Classes\Modules\Bookings\ControllersLogic\RegenerateBookingPaymentRVLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;


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