<?php

namespace App\Http\Controllers\Bookings;

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

class ExpireBookingPaymentController
{
    /**
     * @param Request $request
     * @param DeleteBookingPaymentControllerLogic $logic
     * @return JsonResponse
     */
    public function expire(Request $request, ExpireBookingPaymentControllerLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}