<?php


namespace App\Http\Controllers\Transactions;

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


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