<?php

namespace App\Http\Controllers\Bookings;

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

class FetchBookingPaymentQuotationController
{
    /**
     * @param Request $request
     * @param FetchBookingPaymentQuotationLogic $logic
     * @return JsonResponse
     */
    public function fetch(Request $request, FetchBookingPaymentQuotationLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}