<?php  namespace App\Http\Controllers\Api;  use Exception; use Throwable; use App\Models\Order; use App\Http\Requests\StoreOrder; use App\Http\Requests\ValidateOib; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use App\Http\Controllers\Controller; use App\Http\Requests\CalculateTotal; use App\Http\Resources\OrderResource; use App\Http\Requests\GuestCalculateTotal; use App\Http\Resources\CalculationResource; use App\Services\Orders\OrderCreationService; use App\Services\Orders\OrderCalculationService; use Illuminate\Http\Resources\Json\JsonResource; use App\Services\Orders\OrderFinalizationServiceFactory;  class OrderController extends Controller { 	public function guestCalculate(GuestCalculateTotal $request, OrderCalculationService $orderCalculationService): JsonResource{}  	public function calculate(CalculateTotal $request, OrderCalculationService $orderCalculationService, OrderCreationService $orderCreationService): JsonResource{}  	public function create(StoreOrder $request, OrderCalculationService $orderCalculationService, OrderCreationService $orderCreationService): JsonResource{}  	public function single(Order $id): JsonResource{}  	public function validateOib(ValidateOib $request): array{} }