<?php

namespace App\Http\Controllers\Bookings;

use App\Classes\Modules\Bookings\ControllersLogic\ApprovePaymentLogic;
use App\Classes\ValueObjects\Constants\ApprovalStatus;
use App\Classes\ValueObjects\Constants\TransactionType;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ApprovePaymentController
{
    /**
     * @param Request $request
     * @param ApprovePaymentLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, ApprovePaymentLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}